#include <iostream>
#include <CGAL/QP_models.h>
#include <CGAL/QP_functions.h>
int main() {
qp.set_a(0, 0, 1); qp.set_a(1, 0, 1); qp.set_b(0, 7);
qp.set_a(0, 1, -1); qp.set_a(1, 1, 2); qp.set_b(1, 4);
qp.set_d(0, 0, 2); qp.set_d (1, 1, 8);
qp.set_c(1, -32);
qp.set_c0(64);
(std::cout, qp, "first_nonnegative_qp");
return 0;
}
An object of class Quadratic_program describes a convex quadratic program of the form.
Definition: QP_models.h:788
void print_nonnegative_quadratic_program(std::ostream &out, const NonnegativeQuadraticProgram &qp, const std::string &problem_name=std::string("MY_MPS"))