help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Compatibility with AMPL suffixes to display properties of va


From: Germán Ferrari
Subject: [Help-glpk] Compatibility with AMPL suffixes to display properties of variables and constraints
Date: Fri, 30 Apr 2010 10:57:41 -0300

Hello,

I've a model in Mathprog which I'm solving using `glpsol` and using `display` statements to generate a custom output. In AMPL there is a list of suffixes that one can use to display different properties of variables and constraints. For example for a constraint the available suffixes are:
        astatus   body     defvar   dinit
        dinit0    dual     lb       lbs
        lbs1      lbs2     ldual    lslack
        no        relax    slack    sno
        sstatus   status   ub       ubs
        ubs1      ubs2     udual    uslack

So, for example, you can write:
  display C.lb;

To display the lower bound of C.

Is there an equivalent functionality in Mathprog? The above syntax does not work.

Thank you.

Regards,
Germán.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]