#include < -- improving gecode/implementation/gecode/gecode/optimize/result.hpp>
◆ validate()
| void Gecode::Optimize::SolveOptions::validate |
( |
| ) |
const |
Validate values, throwing ModelError for malformed options. Exact and Certified requests are valid options; a backend that cannot deliver the requested guarantee must return Termination::Unsupported. Gap tolerances may be zero. Feasibility/integrality tolerances must be positive and finite; integrality tolerance must also be less than 0.5.
◆ backend
◆ guarantee
◆ time_limit_seconds
| double Gecode::Optimize::SolveOptions::time_limit_seconds = std::numeric_limits<double>::infinity() |
◆ threads
| int Gecode::Optimize::SolveOptions::threads = 1 |
◆ random_seed
| int Gecode::Optimize::SolveOptions::random_seed = 0 |
◆ relative_gap
| double Gecode::Optimize::SolveOptions::relative_gap = 1e-4 |
◆ absolute_gap
| double Gecode::Optimize::SolveOptions::absolute_gap = 1e-6 |
◆ feasibility_tolerance
| double Gecode::Optimize::SolveOptions::feasibility_tolerance = 1e-7 |
◆ integrality_tolerance
| double Gecode::Optimize::SolveOptions::integrality_tolerance = 1e-6 |
◆ cancellation
◆ node_limit
| std::optional<std::uint64_t> Gecode::Optimize::SolveOptions::node_limit |
◆ primal_start
| std::vector<StartValue> Gecode::Optimize::SolveOptions::primal_start |
Optional sparse primal start. Values must be finite, unique, and satisfy their original variable domains. A complete start must satisfy every original constraint, including retained indicators and globals. A partial start is a hint, not a validated incumbent or a fixed assignment. HiGHS accepts partial hints. Native requires a complete exact assignment after any deterministic completion of live indicator inactivity gates; unresolved partial starts are Unsupported. See solve_native().
The documentation for this struct was generated from the following file: