Forum Discussion
FICO
9 months agoCommunity Manager
How can I export an IIS in .lp format from mosel?
Hi! I have a model written in mosel. I know how to get the IIS when the model is infeasible but it seems I can only print the constraint and variable names from mosel. I am looking for a procedure ...
FICO
9 months agoCommunity Manager
You can retrieve IIS into Mosel and display the set contents from Mosel, as shown in this example: FICO Xpress Optimization Examples Repository: Folio - Advanced modelling and solving tasks
If you wish to print out IIS in matrix (LP-)format, you can directly use the corresponding command of the Optimizer console from within Mosel, for example
command("iis -w 1 some_file.lp")If the IIS generation has not been invoked previous (eg via the Mosel subroutine getiis), then you need to use this sequence of commands:
command("iis
iis -w 1 some_file.lp")For further examples on using the Optimizer console commands from Mosel you may want to take a look at this set of examples: FICO Xpress Optimization Examples Repository: Using Optimizer Console for running matrices within Mosel