当前位置: 动力学知识库 > 问答 > 编程问答 >

c++ - how do i sum a array of GRBVar in setObjective?

问题描述:

I've just starting using gurobi with C++, the information and tutorial are so few.

How should I describe that my objective is to find the maximum of the sum of a array?

model.setObjective(?, GRB_MAXIMIZE);

分享给朋友:
您可能感兴趣的文章:
随机阅读: