Skip to main content
Solved

Variable and constraint names in lp and sol files

  • February 7, 2020
  • 1 reply
  • 187 views

I was wondering if there is a way in aimms to generate sol and lp files using original variable and constrain names which are used in aimms modelling, or alternatively, to figure out the correspondence between variables in the sol and lp files and those in the aimms model?

Thanks

Best answer by Marcel Hunting

AIMMS cannot generate LP or solution files that are using the original variable and constraint names in the AIMMS model.

AIMMS will print a mapping between the variable and constraint names in the AIMMS model and the CPLEX model if you set the General Solvers option 'Solver Column Row Mapping’.

You can set options in the Option Tree, which can be opened by selecting Settings - Project Options in the menu bar.

1 reply

Marcel Hunting
AIMMSian
Forum|alt.badge.img+4
  • AIMMSian
  • 258 replies
  • Answer
  • February 7, 2020

AIMMS cannot generate LP or solution files that are using the original variable and constraint names in the AIMMS model.

AIMMS will print a mapping between the variable and constraint names in the AIMMS model and the CPLEX model if you set the General Solvers option 'Solver Column Row Mapping’.

You can set options in the Option Tree, which can be opened by selecting Settings - Project Options in the menu bar.



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

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