Best objective 0.000000000000e+00, best bound 0.000000000000e+00, gap 0.0000% #1112
Replies: 1 comment 6 replies
-
You would have to tell us what you mean is wrong. Both solvers find the problem super trivial. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used matlab+yalmipi to build a model of MILP, and the results obtained when using gurobi to solve it are as follows.
Set parameter Username
Set parameter IntFeasTol to value 1e-06
Set parameter ScaleFlag to value 1
Set parameter BarIterLimit to value 2000000000
Set parameter CrossoverBasis to value 0
Set parameter MinRelNodes to value 0
Set parameter NodeMethod to value 1
Set parameter PumpPasses to value 0
Set parameter ZeroObjNodes to value 0
Set parameter AggFill to value 10
Set parameter PreSparsify to value 0
Set parameter TuneTrials to value 2
Academic license - for non-commercial use only - expires 2022-06-11
Gurobi Optimizer version 9.5.1 build v9.5.1rc2 (win64)
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Optimize a model with 2171 rows, 400 columns and 4047 nonzeros
Model fingerprint: 0x13d44653
Variable types: 354 continuous, 46 integer (46 binary)
Coefficient statistics:
Matrix range [8e-02, 3e+03]
Objective range [2e-01, 9e+00]
Bounds range [1e+00, 1e+00]
RHS range [1e+00, 3e+03]
Found heuristic solution: objective 0.0000000
Presolve removed 2171 rows and 400 columns
Presolve time: 0.02s
Presolve: All rows and columns removed
Explored 0 nodes (0 simplex iterations) in 0.06 seconds (0.00 work units)
Thread count was 1 (of 4 available processors)
Solution count 1: 0
Optimal solution found (tolerance 1.00e-04)
Best objective 0.000000000000e+00, best bound 0.000000000000e+00, gap 0.0000%
Then I used cplex to solve it, and the results are as follows.
CPXPARAM_Simplex_Display 2
CPXPARAM_Barrier_Display 2
Tried aggregator 1 time.
MIP Presolve eliminated 2171 rows and 400 columns.
MIP Presolve modified 198 coefficients.
All rows and columns eliminated.
Presolve time = 0.03 sec. (0.92 ticks)
Root node processing (before b&c):
Real time = 0.05 sec. (1.06 ticks)
Parallel b&c, 4 threads:
Real time = 0.00 sec. (0.00 ticks)
Sync time (average) = 0.00 sec.
Wait time (average) = 0.00 sec.
------------
Total (root+branch&cut) = 0.05 sec. (1.06 ticks)
I don't know what went wrong, please help me solve it. Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions