Minos Run Error

Problems with syntax of GAMS
Post Reply
mrv_ce
User
User
Posts: 11
Joined: 9 months ago

Minos Run Error

Post by mrv_ce » 2 months ago

Hello everybody,

ı am trying to write a nonlinear model to calculate different distance metrics. In my model I used minos as nonlinear solver. However my model did not run.

I get : EXIT - Function Evaluation error limit exceeded.

On the above lines modes says "Error Line 2: unknown option "memoryemphasis" " and "Error Line 3: unknown option "cuts" "

When I write linear model it did not give such an error.

Please can you help me how can I solve this problem?

Thanks a lot.

Last Part of Code:
OPTION NLP=minos;
$onEcho > minos.opt
memoryemphasis 1
cuts 1
$offecho
MODEL m /ALL/ ;
m.OptFile = 1;
SOLVE m NLP MINIMIZING z;

User avatar
bussieck
Moderator
Moderator
Posts: 330
Joined: 2 years ago

Re: Minos Run Error

Post by bussieck » 1 week ago

You have specified Cplex options in a Minos option file. Minos does not know what to do with these... Options don't help with models that can be evaluated at bad points. Use bounds to keep the variables away from regions that can't be evaluated, e.g. x.lo=1e-6; for algebra with sqrt(x).

-Michael

Post Reply