MPS result output

42 views
Skip to first unread message

Csaba Raduly-Baka

unread,
Mar 26, 2019, 3:27:24 AM3/26/19
to Gurobi Optimization
Hi,

I have my model in MPS (generated from AMPL).
Is there a way to output the values of some of the variables (ROWS) once the objective was found?
I'm running gurobi command line on MPS files and I only get the objective value.
I cannot use AMPL with gurobi at this time.

Thanks,
Csaba


Silke Horn

unread,
Mar 26, 2019, 3:36:13 AM3/26/19
to gur...@googlegroups.com
Hi Csaba,

Gurobi can write the solution to a file. Use ResultFile with a filename that has a .sol suffix.
https://www.gurobi.com/documentation/8.1/refman/resultfile.html

- Silke
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages