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

Detailed Description

Definition at line 44 of file model_solve_parameters.h.

#include <model_solve_parameters.h>

Classes

struct  SolutionHint
struct  ObjectiveParameters

Public Member Functions

absl::Status CheckModelStorage (ModelStorageCPtr expected_storage) const
absl::StatusOr< ModelSolveParametersProtoProto () const

Static Public Member Functions

static ModelSolveParameters OnlyPrimalVariables ()
template<typename Collection>
static ModelSolveParameters OnlySomePrimalVariables (const Collection &variables)
static ModelSolveParameters OnlySomePrimalVariables (std::initializer_list< Variable > variables)
static absl::StatusOr< ModelSolveParametersFromProto (const Model &model, const ModelSolveParametersProto &proto)

Public Attributes

MapFilter< Variablevariable_values_filter
MapFilter< LinearConstraintdual_values_filter
MapFilter< QuadraticConstraintquadratic_dual_values_filter
MapFilter< Variablereduced_costs_filter
std::optional< Basisinitial_basis
std::vector< SolutionHintsolution_hints
VariableMap< int32_t > branching_priorities
ObjectiveMap< ObjectiveParametersobjective_parameters
absl::flat_hash_set< LinearConstraintlazy_linear_constraints

Member Function Documentation

◆ CheckModelStorage()

absl::Status operations_research::math_opt::ModelSolveParameters::CheckModelStorage ( ModelStorageCPtr expected_storage) const

Definition at line 60 of file model_solve_parameters.cc.

◆ FromProto()

absl::StatusOr< ModelSolveParameters > operations_research::math_opt::ModelSolveParameters::FromProto ( const Model & model,
const ModelSolveParametersProto & proto )
static

Definition at line 237 of file model_solve_parameters.cc.

◆ OnlyPrimalVariables()

ModelSolveParameters operations_research::math_opt::ModelSolveParameters::OnlyPrimalVariables ( )
static

Definition at line 46 of file model_solve_parameters.cc.

◆ OnlySomePrimalVariables() [1/2]

template<typename Collection>
ModelSolveParameters operations_research::math_opt::ModelSolveParameters::OnlySomePrimalVariables ( const Collection & variables)
static

Definition at line 239 of file model_solve_parameters.h.

◆ OnlySomePrimalVariables() [2/2]

ModelSolveParameters operations_research::math_opt::ModelSolveParameters::OnlySomePrimalVariables ( std::initializer_list< Variable > variables)
static

Definition at line 55 of file model_solve_parameters.cc.

◆ Proto()

absl::StatusOr< ModelSolveParametersProto > operations_research::math_opt::ModelSolveParameters::Proto ( ) const

Definition at line 184 of file model_solve_parameters.cc.

Member Data Documentation

◆ branching_priorities

VariableMap<int32_t> operations_research::math_opt::ModelSolveParameters::branching_priorities

Definition at line 154 of file model_solve_parameters.h.

◆ dual_values_filter

MapFilter<LinearConstraint> operations_research::math_opt::ModelSolveParameters::dual_values_filter

Definition at line 90 of file model_solve_parameters.h.

◆ initial_basis

std::optional<Basis> operations_research::math_opt::ModelSolveParameters::initial_basis

Definition at line 101 of file model_solve_parameters.h.

◆ lazy_linear_constraints

absl::flat_hash_set<LinearConstraint> operations_research::math_opt::ModelSolveParameters::lazy_linear_constraints

Definition at line 214 of file model_solve_parameters.h.

◆ objective_parameters

ObjectiveMap<ObjectiveParameters> operations_research::math_opt::ModelSolveParameters::objective_parameters

Definition at line 205 of file model_solve_parameters.h.

◆ quadratic_dual_values_filter

MapFilter<QuadraticConstraint> operations_research::math_opt::ModelSolveParameters::quadratic_dual_values_filter

Definition at line 94 of file model_solve_parameters.h.

◆ reduced_costs_filter

MapFilter<Variable> operations_research::math_opt::ModelSolveParameters::reduced_costs_filter

Definition at line 97 of file model_solve_parameters.h.

◆ solution_hints

std::vector<SolutionHint> operations_research::math_opt::ModelSolveParameters::solution_hints

Definition at line 149 of file model_solve_parameters.h.

◆ variable_values_filter

MapFilter<Variable> operations_research::math_opt::ModelSolveParameters::variable_values_filter

Definition at line 87 of file model_solve_parameters.h.


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