User Tools

Site Tools



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

Link to this comparison view

Both sides previous revision Previous revision
gams:equation_infeasible_due_to_rhs_value [2021/05/06 15:43]
Atharv Bhosekar removed
— (current)
Line 1: Line 1:
-====== Equation infeasible due to rhs value ====== 
-The complete error message ​ in the lst file is:  
-**** Exec Error at line ...: Equation infeasible due to rhs value 
-There is the  model attribute ''​tolinfeas''​ you can set, e.g.: ''​model.tolinfeas = 1e-5;''​ 
-This attribute is initially set to ''​NA'',​ in which case GAMS will use a value close to the machine precision. ​  For example the equation: 
-   a.. 0*x =e= 0.0001; 
-will be infeasible. ​ This can be reversed using 
- mymodel.tolinfeas = 1e-3; 
-which will make the above equation feasible. Other model attributes changing internal GAMS tolerances are: ''​tolinfrep'' ​ and ''​tolproj''​.