Quadratic problems with large number of variables

32 views
Skip to first unread message

Saeed Poormoaied

unread,
Jun 13, 2016, 6:33:05 PM6/13/16
to 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

unread,
Jul 11, 2016, 11:07:26 AM7/11/16
to 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
Reply all
Reply to author
Forward
0 new messages