User Tools

Site Tools


solver:dicopt_illegal_row_type

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

solver:dicopt_illegal_row_type [2007/04/05 20:06] (current)
Line 1: Line 1:
 +====== Dicopt: Illegal row type ======
 + ​Q: ​
 +// I receive this following error, when running my MINLP with DICOPT.//
 +<​code>​
 +--------------------------------------------
  
 +               S O L V E      S U M M A R Y
 +
 +     ​MODEL ​  ​rlp ​                ​OBJECTIVE ​ zobjR
 +     ​TYPE ​   MINLP               ​DIRECTION ​ MINIMIZE
 +     ​SOLVER ​ DICOPT ​             FROM LINE  314
 +
 +**** SOLVER STATUS ​    ERROR SYSTEM FAILURE
 +**** MODEL STATUS ​     ERROR NO SOLUTION
 +**** OBJECTIVE VALUE               NA
 +
 + ​RESOURCE USAGE, LIMIT         ​NA ​         1000.000
 + ​ITERATION COUNT, LIMIT        NA         10000
 + ​EVALUATION ERRORS ​            ​NA ​            0
 +
 +No solution returned
 +
 +**** SOLVER STATUS FILE LISTED BELOW
 +=0 Dicopt2x-C ​   Apr  1, 2005 LNX.DI.NA 21.7 039.031.041.LXI
 +=0 Dicopt2x-C ​   Apr  1, 2005 LNX.DI.DI 21.7 039.031.041.LXI
 +
 +*** Illegal row type
 +</​code>​
 +
 +The current version of DICOPT does not like ''​=n=''​ rows. 
 +This can also happen, when you have a model with a ''​lhs =l= inf''​ - statement. ​ GAMS sends it to DICOPT an =n= row out of it so DICOPT sees the ''​=n=''​ row and complains about it. \\
 +Dicopt also does not understand cone equations (''​=c=''​) and older version of Dicopt did not understand external equations (''​=x=''​).
 +
 +If you just want to exclude certain constraints from a model, you may:
 +  * Comment them in the source
 +  * exclude them from your ''​model ''​ - statement.
 +  * Have a runtime switch that turns off a block of equations:<​code>​
 +equation e(i);
 +scalar do_e /1/; e(i)$do_e.. sum(j,​x(i,​j)) =e= 0;
 +...
 +do_e=0; solve m using minlp min z;
 +</​code>​
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY solver/dicopt_illegal_row_type.txt ยท Last modified: 2007/04/05 20:06 (external edit)