Hi there
I’m trying to solve some equations without any optimizations and any minimizing or maximizing.
and I know there is a solver called “CNS” which is capable to solve without any Min or Max statement but it has to be a square system.
so the question is how to solve a non-square problem without minimizing or maximizing???
thank you all.
Hi
You could make it an optimization problem by adding following:
variable OBJ objective
equation dummy Dummy objective;
dummy..
OBJ =E= 1;
Then solve the model maximizing OBJ. GAMS will find OBJ being equal to 1 solves the problem while at the same time solving the other equations.
I hope this helps.
Cheers
Renger
thank you Renger for your reply.
Thanks for this tread. I having similar situation where I wanted to have model run without obj equation. I implemented this procedure of dummy obj but having solution:
**** SOLVER STATUS 4 Terminated By Solver
**** MODEL STATUS 14 No Solution Returned
**** OBJECTIVE VALUE 1.0000
RESOURCE USAGE, LIMIT 3.844 9000000000.000
ITERATION COUNT, LIMIT 0 2000
EVALUATION ERRORS 0 0
MsNlp Terminated When Iteration Count Exceeded Limit of 1000
and wondering what I can do to increase this limit as I already have
options nlp=MSNLP, iterLim=2000, Bratio=1, OptcR = 0, limCol=200000, limrow=1e9, SYSOUT=on, solSlack=1, resLim=9E9 ;
and not all the equations in the model are solved. I need to solve all the equations