Quadratic problems with large number of variables

已查看 32 次
跳至第一个未读帖子

Saeed Poormoaied

未读,
2016年6月13日 18:33:052016/6/13
收件人 Gurobi Optimization

Hi everybody,


I do not know how to add constraint in large size. I have an example attached. I don’t know what qrow[0], qcol[0], and qval[0]. Could anyone please explain in general example what is  qrow[0], qcol[0]….?

For example how to write x^2 + y*x + z^2 + x*z ? how to write this constraint by qrow, qcol…?


Thanks in advance

question.docx

Tobias Achterberg

未读,
2016年7月11日 11:07:262016/7/11
收件人 gur...@googlegroups.com
The reference manual at
http://www.gurobi.com/documentation/6.5/refman/c_grbaddqconstr.html gives an
example in the description of the "qrow" argument and also in the example usage.
Does this suffice to help you?


Tobias
回复全部
回复作者
转发
0 个新帖子