Error using linprog in nested optimization

Hi guys, I am running a nested optimization with GA as outer and Linprog as Inner loop. I got this error:
LINPROG has stopped because it encountered an internal error. We are sorry for the inconvenience.
Please contact technical support for assistance with your problem, quoting the code "-98@19"
does anyone knows why this happens?

8 Comments

Your code will be needed to reproduce the error. Without the code, nobody can tell the reason for MATLAB to exit. If you are willing to share your files, Technical Support might be able to help you.
I already send them the code. are you on Technical support?
No this is public "forum", independent to technical support. Here participants are volonteers and we have no obligation to help you or anybody else, contrary to technical support.
thanks but the links doesn't contain anything and my code is very long...
Torsten
Torsten on 31 Jul 2022
Edited: Torsten on 31 Jul 2022
The link contains two possible reasons why the error could happen.
The link contains 3 posts. Claim that "doesn't contain anything" is incorrect.
But clearly the link is about error with intlinprog and your is linprog.
And as long as you don't share the code of swe this is the best you can get.
Summary:
  • the problem might (somehow) be triggered by using arrays large enough to run out of memory
  • the problem might be triggered by having accidentally duplicated the names of functions that are used internally by the code
Unfortunately that particular set of characters is not in any readable source code in the Optimization Toolbox; the message is being generated by pre-compiled code or by .p code. You will need to ask Support for more details.

Sign in to comment.

Answers (0)

Asked:

on 30 Jul 2022

Commented:

on 31 Jul 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!