Skip to main content
Solved

Compare the constraints/ variables written in AIMMS project and constraints in .lp file generated from that AIMMS project

  • January 31, 2023
  • 1 reply
  • 67 views

Forum|alt.badge.img+2

I have an AIMMS project. I have downloaded .lp file from the AIMMS project. 

Is there any way so that I can compare the the constraints written in .lp file and constraints what I have written inside an AIMMS project.

Best answer by Marcel Hunting

Hi @RwitamJ. You can print the constraint listing of the math program that AIMMS generates by setting the following Solvers General options:

  • 'Constraint Listing' to 'At every solve' (or 'At first solve')
  • ‘Constraint Listing Variable Values' to 'Print variable values'

The constraint listing will be printed in the listing file (.lis) in the log folder. By setting the Solvers General option ‘Solver Column Row Mapping’ to 'At every solve' (or 'At first solve') AIMMS will print a mapping between the columns/rows in the constraint listing and those used in the LP file; this mapping will also be printed in the listing file. But you can only use this mapping if the LP file is created from the same AIMMS project.

1 reply

Marcel Hunting
AIMMSian
Forum|alt.badge.img+4
  • AIMMSian
  • 258 replies
  • Answer
  • January 31, 2023

Hi @RwitamJ. You can print the constraint listing of the math program that AIMMS generates by setting the following Solvers General options:

  • 'Constraint Listing' to 'At every solve' (or 'At first solve')
  • ‘Constraint Listing Variable Values' to 'Print variable values'

The constraint listing will be printed in the listing file (.lis) in the log folder. By setting the Solvers General option ‘Solver Column Row Mapping’ to 'At every solve' (or 'At first solve') AIMMS will print a mapping between the columns/rows in the constraint listing and those used in the LP file; this mapping will also be printed in the listing file. But you can only use this mapping if the LP file is created from the same AIMMS project.



Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator