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