#include <cassert>
#include <CGAL/basic.h>
#include <CGAL/QP_models.h>
#include <CGAL/QP_functions.h>
#ifdef CGAL_USE_GMP
#else
#endif
<int**,
int*,
int*>
Program;
int main() {
int Ax1[] = { 1, -1};
int Ax2[] = { 3, 1};
int* A[] = {Ax1, Ax2};
int b[] = { 1, -1};
int c[] = { 1, 2};
Program lp (2, 2, A, b, r, c);
assert (s.is_optimal());
Solution::Variable_value_iterator x =
s.variable_values_begin();
Solution::Optimality_certificate_iterator y =
s.optimality_certificate_begin();
assert (y[0] >= 0);
assert (y[1] >= 0);
assert (y[0] * A[0][0] + y[1] * A[0][1] >= -c[0]);
assert (y[0] * A[1][0] + y[1] * A[1][1] >= -c[1]);
assert (y[0] * b[0] + y[1] * b[1] == -c[0] * x[0] - c[1] * x[1]);
return 0;
}