天天看點

gurobi和java_Gurobi和java和空解決方案

我正在使用Gurobi和

java來解決ILP問題.

我設定了所有,然後啟動程式.但是Gurobi甚至沒有嘗試解決我的問題并且給我一個空解決方案,所有變量都設定為0.

在放松步驟中,Gurobi顯示該函數的最小值為-246.這與下一步相反,gurobi表明最優解是0.

Gurobi的産量是:

Optimize a model with 8189 rows, 3970 columns and 15011 nonzeros

Variable types: 0 continuous, 3970 integer (0 binary)

0 0 0 1.0E100 -1.0E100 0 0

**** New solution at node 0, obj 0.0

Found heuristic solution: objective 0.0000000

Root relaxation: objective -2.465000e+02, 4288 iterations, 0.08 seconds

Nodes | Current Node | Objective Bounds | Work

Expl Unexpl | Obj Depth IntInf | Incumbent BestBd Gap | It/Node Time

0 0 -246.50000 0 315 0.00000 -246.50000 - - 0s

Cutting planes:

MIR: 907

Explored 0 nodes (5485 simplex iterations) in 0.70 seconds

Thread count was 1 (of 1 available processors)

Optimal solution found (tolerance 1.00e-04)

Best objective 0.000000000000e+00, best bound 0.000000000000e+00, gap 0.0%