Originally posted by: SystemAdmin
[EdKlotz said:]
Hello,
I'm trying to solve relatively large MIP problem using CPLEX 11.0. Most of the time, the problem is feasible and I get a solution without a problem, but lately, with no unusual input data, I got the following solution progress:
Code:
0.0s Tried aggregator 3 times.
0.1s MIP Presolve eliminated 5493 rows and 2701 columns.
0.1s MIP Presolve modified 854 coefficients.
0.1s Aggregator did 410 substitutions.
0.1s Reduced MIP has 4305 rows, 3297 columns, and 20537 nonzeros.
0.1s Presolve time = 0.08 sec.
0.1s Clique table members: 5246.
0.1s MIP emphasis: balance optimality and feasibility.
0.1s MIP search method: dynamic search.
0.1s Parallel mode: none, using 1 thread.
0.7s Root relaxation solution time = 0.55 sec.
0.7s
Nodes Cuts/
0.7s Node Left Objective IInf Best Integer Best Node ItCnt Gap
0.7s 0 0 5431076.6379 229 5431076.6379 3606
1.2s 0 0 5465341.9711 365 Cuts: 1064 5117
1.4s 0 0 5478214.5485 345 Cuts: 603 5655
1.6s 0 0 5480780.9692 340 Cuts: 427 6036
1.7s 0 0 5484513.7704 424 Cuts: 98 6276
1.9s 0 0 5488229.2884 425 Cuts: 249 6497
2.0s 0 0 5490968.0258 416 Cuts: 167 6742
2.1s 0 0 5492295.6665 415 Cuts: 55 6874
2.2s 0 0 5492932.3056 447 Cuts: 80 6942
2.2s 0 0 5493775.8002 443 Cuts: 56 7032
2.3s 0 0 5493959.0339 451 Cuts: 33 7098
2.3s 0 0 5494039.4526 446 Impl Bds: 5 7121
4.0s 0 2 5494039.4526 446 5494039.4526 7121
15.9s * 90+ 64 6524267.6583 5499457.6242 13446 15.71
16.1s 100 74 6418765.8250 40 6524267.6583 5499457.6242 13581 15.71
20.1s 200 142 5957760.2360 192 6524267.6583 5499967.6911 18305 15.70
23.3s 300 212 5657750.2089 387 6524267.6583 5512671.1805 23121 15.51
26.4s 400 293 5537495.7283 405 6524267.6583 5513981.4631 28972 15.49
Failed to get optimizer x.
CPLEX Error 1217: No solution exists.
No MIP objective value available.
CPLEX Error 1217: No solution exists.
{Warning: Failed to get DETAILS (slack).}
CPLEX Error 1217: No solution exists.
It seems to me, that there was no problem during presolve stage, it even found an integer feasible solution (?), but then returned an error stating that no solution exists... any hint how this could be possible?
Based on the output, you are calling CPLEX from a program rather than using interactive CPLEX.
To help narrow down the source of the trouble, first export a SAV file of this model and see
if you can reproduce the behavior running interactive CPLEX on the SAV file. If you can reproduce
it, you have something simpler with which to work, and you have ruled out any code in your
program as the source of the trouble (assuming the SAV file does not contain any invalid data due
to the program).
On the other hand, if interactive CPLEX has no trouble optimizing the model and displaying the solution,
then you need to take a closer look at your program. Try turning on CPLEX's datacheck parameter
just to make sure the model hasn't been corrupted in some way. Check the routines you called
that got error 1217, and make sure the arguments are correct. Make sure that you didn't modify
the problem in some way after solving it but before querying the solution routines. Finally, take the SAV file and modify one of the CPLEX example programs (e.g. mipex2.c, ilomipex2.cpp, or MIPex2.java depending on the CPLEX API you are currently using) so that it calls the same solution routines as your program. In other words, try to reproduce the issue in a simpler program. You will then either have a simpler program with which to work, or you can use that program to focus on how it differs from your program. Those differences probably explain the unexpected behavior you encountered.
#CPLEXOptimizers#DecisionOptimization