Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::SolveParameters Struct Reference

Detailed Description

Definition at line 308 of file parameters.h.

#include <parameters.h>

Public Member Functions

SolveParametersProto Proto () const

Static Public Member Functions

static absl::StatusOr< SolveParametersFromProto (const SolveParametersProto &proto)

Public Attributes

bool enable_output = false
absl::Duration time_limit = absl::InfiniteDuration()
std::optional< int64_t > iteration_limit
std::optional< int64_t > node_limit
std::optional< double > cutoff_limit
std::optional< double > objective_limit
std::optional< double > best_bound_limit
std::optional< int32_t > solution_limit
std::optional< int32_t > threads
std::optional< int32_t > random_seed
std::optional< double > absolute_gap_tolerance
std::optional< double > relative_gap_tolerance
std::optional< int32_t > solution_pool_size
std::optional< LPAlgorithmlp_algorithm
std::optional< Emphasispresolve
std::optional< Emphasiscuts
std::optional< Emphasisheuristics
std::optional< Emphasisscaling
GScipParameters gscip
GurobiParameters gurobi
glop::GlopParameters glop
sat::SatParameters cp_sat
pdlp::PrimalDualHybridGradientParams pdlp
GlpkParameters glpk
HighsOptionsProto highs
XpressParameters xpress

Member Function Documentation

◆ FromProto()

absl::StatusOr< SolveParameters > operations_research::math_opt::SolveParameters::FromProto ( const SolveParametersProto & proto)
static

Definition at line 292 of file parameters.cc.

◆ Proto()

SolveParametersProto operations_research::math_opt::SolveParameters::Proto ( ) const

Definition at line 236 of file parameters.cc.

Member Data Documentation

◆ absolute_gap_tolerance

std::optional<double> operations_research::math_opt::SolveParameters::absolute_gap_tolerance

Definition at line 405 of file parameters.h.

◆ best_bound_limit

std::optional<double> operations_research::math_opt::SolveParameters::best_bound_limit

Definition at line 360 of file parameters.h.

◆ cp_sat

sat::SatParameters operations_research::math_opt::SolveParameters::cp_sat

Definition at line 463 of file parameters.h.

◆ cutoff_limit

std::optional<double> operations_research::math_opt::SolveParameters::cutoff_limit

Definition at line 349 of file parameters.h.

◆ cuts

std::optional<Emphasis> operations_research::math_opt::SolveParameters::cuts

Definition at line 449 of file parameters.h.

◆ enable_output

bool operations_research::math_opt::SolveParameters::enable_output = false

Definition at line 314 of file parameters.h.

◆ glop

glop::GlopParameters operations_research::math_opt::SolveParameters::glop

Definition at line 462 of file parameters.h.

◆ glpk

GlpkParameters operations_research::math_opt::SolveParameters::glpk

Definition at line 466 of file parameters.h.

◆ gscip

GScipParameters operations_research::math_opt::SolveParameters::gscip

Definition at line 460 of file parameters.h.

◆ gurobi

GurobiParameters operations_research::math_opt::SolveParameters::gurobi

Definition at line 461 of file parameters.h.

◆ heuristics

std::optional<Emphasis> operations_research::math_opt::SolveParameters::heuristics

Definition at line 454 of file parameters.h.

◆ highs

HighsOptionsProto operations_research::math_opt::SolveParameters::highs

Definition at line 467 of file parameters.h.

◆ iteration_limit

std::optional<int64_t> operations_research::math_opt::SolveParameters::iteration_limit

Definition at line 329 of file parameters.h.

◆ lp_algorithm

std::optional<LPAlgorithm> operations_research::math_opt::SolveParameters::lp_algorithm

Definition at line 438 of file parameters.h.

◆ node_limit

std::optional<int64_t> operations_research::math_opt::SolveParameters::node_limit

Definition at line 336 of file parameters.h.

◆ objective_limit

std::optional<double> operations_research::math_opt::SolveParameters::objective_limit

Definition at line 353 of file parameters.h.

◆ pdlp

pdlp::PrimalDualHybridGradientParams operations_research::math_opt::SolveParameters::pdlp

Definition at line 464 of file parameters.h.

◆ presolve

std::optional<Emphasis> operations_research::math_opt::SolveParameters::presolve

Definition at line 442 of file parameters.h.

◆ random_seed

std::optional<int32_t> operations_research::math_opt::SolveParameters::random_seed

Definition at line 392 of file parameters.h.

◆ relative_gap_tolerance

std::optional<double> operations_research::math_opt::SolveParameters::relative_gap_tolerance

Definition at line 420 of file parameters.h.

◆ scaling

std::optional<Emphasis> operations_research::math_opt::SolveParameters::scaling

Definition at line 458 of file parameters.h.

◆ solution_limit

std::optional<int32_t> operations_research::math_opt::SolveParameters::solution_limit

Definition at line 373 of file parameters.h.

◆ solution_pool_size

std::optional<int32_t> operations_research::math_opt::SolveParameters::solution_pool_size

Definition at line 430 of file parameters.h.

◆ threads

std::optional<int32_t> operations_research::math_opt::SolveParameters::threads

Definition at line 376 of file parameters.h.

◆ time_limit

absl::Duration operations_research::math_opt::SolveParameters::time_limit = absl::InfiniteDuration()

Definition at line 320 of file parameters.h.

◆ xpress

XpressParameters operations_research::math_opt::SolveParameters::xpress

Definition at line 468 of file parameters.h.


The documentation for this struct was generated from the following files: