![]() |
Prev | Next |
ok = lp_box(
level, A, b, c, d, maxitr, xout
)
template <class Vector> bool lp_box( size_t level , const Vector& A , const Vector& b , const Vector& c , const Vector& d , size_t maxitr , Vector& xout )
Vector
is a
simple vector with elements of type double
.
level == 0
,
no tracing is printed.
If
level >= 1
,
a trace of the lp_box
operations is printed.
If
level >= 2
,
the objective and primal variables
x
are printed
at each simplex_method
iteration.
If
level == 3
,
the simplex tableau is printed at each simplex iteration.
n
and
the input value of its elements does no matter.
Upon return it is the primal variables
x
corresponding to the problem solution.
ok
is true, an optimal solution was found.
lp_box
.