You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gurobi Optimizer version 9.1.1 build v9.1.1rc0 (mac64)
Thread count: 6 physical cores, 12 logical processors, using up to 12 threads
Optimize a model with 4 rows, 7 columns and 10 nonzeros
Model fingerprint: 0x2ca96aa2
Model has 4 general constraints
Variable types: 6 continuous, 1 integer (1 binary)
Coefficient statistics:
Matrix range [1e+00, 8e+00]
Objective range [1e+00, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [2e+00, 2e+00]
Found heuristic solution: objective 4.0000000
Presolve removed 4 rows and 6 columns
Presolve time: 0.00s
Explored 0 nodes (0 simplex iterations) in 0.00 seconds
Thread count was 1 (of 12 available processors)
Solution count 1: 4
No other solutions better than 0
Model is unbounded
Best objective 4.000000000000e+00, best bound -, gap -
User-callback calls 45, time in user-callback 0.00 sec
Now, if I add a single constraint to force a higher best objective:
@constraint(model, extent ==2)
Then a higher best objective is obtained:
Gurobi Optimizer version 9.1.1 build v9.1.1rc0 (mac64)
Thread count: 6 physical cores, 12 logical processors, using up to 12 threads
Optimize a model with 5 rows, 7 columns and 11 nonzeros
Model fingerprint: 0xfdbf4857
Model has 4 general constraints
Variable types: 6 continuous, 1 integer (1 binary)
Coefficient statistics:
Matrix range [1e+00, 8e+00]
Objective range [1e+00, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [2e+00, 2e+00]
Presolve added 2 rows and 4 columns
Presolve time: 0.00s
Presolved: 7 rows, 11 columns, 19 nonzeros
Presolved model has 4 SOS constraint(s)
Variable types: 8 continuous, 3 integer (3 binary)
Found heuristic solution: objective 6.0000000
Root relaxation: unbounded, 2 iterations, 0.00 seconds
Nodes | Current Node | Objective Bounds | Work
Expl Unexpl | Obj Depth IntInf | Incumbent BestBd Gap | It/Node Time
0 0 postponed 0 6.00000 - - - 0s
0 0 postponed 0 6.00000 - - - 0s
0 2 postponed 0 6.00000 - - - 0s
Explored 3 nodes (9 simplex iterations) in 0.00 seconds
Thread count was 12 (of 12 available processors)
Solution count 1: 6
Model is unbounded
Best objective 6.000000000000e+00, best bound 6.000000000000e+00, gap 0.0000%
User-callback calls 60, time in user-callback 0.00 sec
I am a bit confused as to why the first example is reporting a best objective for an unbounded model in the first place, instead of simply not calculating/reporting an objective value.
The text was updated successfully, but these errors were encountered:
For the following example, Gurobi is reporting a best objective value of 4:
Output:
Now, if I add a single constraint to force a higher best objective:
Then a higher best objective is obtained:
I am a bit confused as to why the first example is reporting a best objective for an unbounded model in the first place, instead of simply not calculating/reporting an objective value.
The text was updated successfully, but these errors were encountered: