This shows you the differences between two versions of the page.
gams:get_the_attribute_of_an_equation_that_returns_the_feasibitity_status_of_an_equation [2007/08/22 14:05]
127.0.0.1 external edit
gams:get_the_attribute_of_an_equation_that_returns_the_feasibitity_status_of_an_equation [2020/05/20 11:55] (current)
|Line 3:||Line 3:|
|of an equation?//||of an equation?//|
|-||//What I want to do is to relax some bounds, if am equation was infeasible. I tried with equation.m, but marginals may exist, even if the equation is not highlighted with "infes".//||+||[[https://www.gams.com/latest/docs/UG_Equations.html#UG_Equations_Attributes|Equation attribute]] .infeas provides the amount by which an equation is infeasible falling below its lower bound or above its upper bound. This is defined as ''max(0, lower bound - level, level - upper bound)''.|
|-||With recent versions of GAMS, we compute the constraint record ''EQU.infeas'' from ''EQU.''l and ''EQU.lo/up''. This feature is used in the model ''feasopt1'' in the [[http://www.gams.com/modlib/libhtml/feasopt1.htm|GAMS model library]].||+||Usage of this model attribute is for example illustrated in the model ''feasopt1'' in the [[http://www.gams.com/modlib/libhtml/feasopt1.htm|GAMS model library]].|