#include <CGAL/QP_models.h>
in
If
The program data are read from an input stream in MPSFormat. This is a commonly used format for encoding linear and quadratic programs that is understood by many solvers. All values are expected to be readable into type NT. The constructed program can be further manipulated by using the set-methods below.
| |
The number type of the program entries.
|
| |
reads qp from the input stream in.
|
|
| returns true if and only if an MPS-encoded quadratic program could be extracted from the input stream. | ||
|
| if !qp.is_valid(), this method returns an error message explaining why the input does not conform to the MPSFormat. | ||
|
| |||
returns the name of the
| ||||
|
| |||
returns the index of the variable with name name. If there is
no variable with this name, the result is | ||||
|
| |||
returns the name of the
| ||||
|
| |||
returns the index of the constraint with name name. If there is
no constraint with this name, the result is | ||||
|
| returns true if and only if qp is a linear program. | ||
|
| returns true if and only if qp is a nonnegative program. | ||
|
|
sets the entry | ||
|
|
sets the entry | ||
|
| |||
sets the entry | ||||
|
| |||
if is_finite, this sets the entry | ||||
|
| |||
if is_finite, this sets the entry | ||||
|
|
sets the entry | ||
|
|
sets the entry | ||
|
|
sets the entries
|
QP_solver/first_qp_from_mps.cpp
QP_solver/first_lp_from_mps.cpp
QP_solver/first_nonnegative_qp_from_mps.cpp
QP_solver/first_nonnegative_lp_from_mps.cpp