Opened 8 years ago

Closed 7 weeks ago

#108 closed enhancement (migrated)

add support for output from GMPL models

Reported by: mkaut Owned by:
Priority: major Component: Cbc
Version: Keywords:
Cc:

Description

At the moment, Cbc can parse an GMPL (GNU MathProg?) model and report the optimal objective function and the values of the columns. However, GMPL includes commands for formatted output, which greatly increases the usability of the Cbc+GMPL combination - one can easily reports many different aspects of the solution. (It does not really help me to know what the optimal value of column 1234 is.)

The commands in question are: 'display', 'printf', and 'for'.

Change History (2)

comment:1 Changed 6 years ago by mkaut

This works now, with

cbc model.mod%model.dat -solve -gsolu glpk.sol

Note that the last part is needed, even if one does not use the file for anything. (To save the solution in a more readable format, one can use -solu gmpl-cbc.sol.)

It would be nice to have this information readily available somewhere, though.

comment:2 Changed 7 weeks ago by stefan

  • Component set to Cbc
  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: https://github.com/coin-or/Cbc/issues/108

Note: See TracTickets for help on using tickets.