Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <parameters.h>
Public Member Functions | |
GlpkParametersProto | Proto () const |
Static Public Member Functions | |
static GlpkParameters | FromProto (const GlpkParametersProto &proto) |
Public Attributes | |
std::optional< bool > | compute_unbound_rays_if_possible = std::nullopt |
GLPK specific parameters for solving.
Fields are optional to enable capturing user intention; if the user explicitly sets a value, then no generic solve parameters will overwrite this parameter. User specified solver specific parameters have priority over generic parameters.
Definition at line 230 of file parameters.h.
|
static |
Definition at line 206 of file parameters.cc.
GlpkParametersProto operations_research::math_opt::GlpkParameters::Proto | ( | ) | const |
Definition at line 197 of file parameters.cc.
std::optional<bool> operations_research::math_opt::GlpkParameters::compute_unbound_rays_if_possible = std::nullopt |
Compute the primal or dual unbound ray when the variable (structural or auxiliary) causing the unboundness is identified (see glp_get_unbnd_ray()).
The unset value is equivalent to false.
Rays are only available when solving linear programs, they are not available for MIPs. On top of that they are only available when using a simplex algorithm with the presolve disabled.
A primal ray can only be built if the chosen LP algorithm is LPAlgorithm::kPrimalSimplex. Same for a dual ray and LPAlgorithm::kDualSimplex.
The computation involves the basis factorization to be available which may lead to extra computations/errors.
Definition at line 246 of file parameters.h.