如何在 java &cplex 中编写包含积分的常量?
我两个月前开始 Java 编程。我不知道如何在 Java+Cplex 库中编写约束。该约束包含一个积分。 Java 是否已经包含一个完整的库,我只需要输入边界,或者是否有其他方法可以实现这一点?
//constraints
IloLinearNumExpr capacity= cplex.linearIntExpr();
capacity.addTerms();
// the constraint is I-integral(P)dt+ Ps(t1-t0)>Ilow
I started Java programming 2 months ago. I don't know how to code a constraint in the Java+Cplex library. This constraint contains an integral. Does Java contain an integral library already and I'll need just to enter the bounds or is there another method for this?
//constraints
IloLinearNumExpr capacity= cplex.linearIntExpr();
capacity.addTerms();
// the constraint is I-integral(P)dt+ Ps(t1-t0)>Ilow
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论