How do I get the attribute of an equation, that returns the feasibility status of an equation?

Frequently asked questions about GAMS

Moderator: aileen

Forum rules
Please ask questions in the other sub-forums
Locked
aileen
User
User
Posts: 136
Joined: 4 years ago

How do I get the attribute of an equation, that returns the feasibility status of an equation?

Post by aileen »

Is there any equation attribute, that gives back the feasibility status of an equation?
aileen
User
User
Posts: 136
Joined: 4 years ago

Re: How do I get the attribute of an equation, that returns the feasibility status of an equation?

Post by aileen »

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).

Usage of this model attribute is for example illustrated in the model feasopt1 in the GAMS model library.
Locked