You can enter data to define a QP by any of several different methods:
QMATRIX
section to support quadratic data.
read
command to read problems in from a formatted file, or use the enter
command to enter problem data interactively.
IloCplex
, method importModel
will seamlessly read a problem file containing QP into a Concert Technology model.
CPXreadcopyprob()
to read and copy problem data from a formatted file.