Originally posted by: Frops
Thank you again,
However, I can not manage to do what I need.
I attach you a small example to show you the problem I have. (named small)
-
I wrote the mod and dat file.
-
From that, I generate lp and mps model files.
-
I solve this model (from both lp and mps)
-
I ask for mip starts after solving the model. (solutionsmall.mst)
The final problem is that in a real case, I want to introduce an external solution through mst files (that represent mipstart solutions).
I would like to use solutions or partial solutions that I obtain from other procedures, to help CPLEX solve the problem.
I want to write a MST file with that solution, and intoduce it previously to solve execution.
MST files have the following format to give names to variables.
<variable name="x({1,2})" index="0" value="3"/> <variable name="x({1,8})" index="1" value="3"/>
<variable name="x({5,2})" index="2" value="3"/>
<variable name="x({3,2})" index="3" value="3"/>
So, to give values to my variables in mst files, I need to identify the
index="0" with variable
"x({1,2})".
Although in that small case, the lp model builded from mod and dat file uses variables as expected. x({1,2})
In my real big case, I have tried to fix bigMapThreshold up to 20000000000; (that returns me a problem of Error de tiempo de ejecución de guión: cannot convert to an integer, "20000000000". Error in execution time)
For smaller values, in lp format, I get variables with this format.
x({1,23})#23.
Which I understand that identify with <variable name="x({1,23})" index="23" value="0"/>
That is why I wanted to know how cplex gave the index # to the variables.
I thought I could identify the variable names in the mst file.
I am very grateful for your invaluable help,
Frops
#DecisionOptimization#OPLusingCPLEXOptimizer