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%

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值