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

Detailed Description

Definition at line 120 of file model_solve_parameters.h.

#include <model_solve_parameters.h>

Public Member Functions

absl::Status CheckModelStorage (ModelStorageCPtr expected_storage) const
SolutionHintProto Proto () const

Static Public Member Functions

static absl::StatusOr< SolutionHintFromProto (const Model &model, const SolutionHintProto &hint_proto)

Public Attributes

VariableMap< double > variable_values
LinearConstraintMap< double > dual_values

Member Function Documentation

◆ CheckModelStorage()

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

Definition at line 102 of file model_solve_parameters.cc.

◆ FromProto()

absl::StatusOr< ModelSolveParameters::SolutionHint > operations_research::math_opt::ModelSolveParameters::SolutionHint::FromProto ( const Model & model,
const SolutionHintProto & hint_proto )
static

Definition at line 127 of file model_solve_parameters.cc.

◆ Proto()

SolutionHintProto operations_research::math_opt::ModelSolveParameters::SolutionHint::Proto ( ) const

Definition at line 119 of file model_solve_parameters.cc.

Member Data Documentation

◆ dual_values

LinearConstraintMap<double> operations_research::math_opt::ModelSolveParameters::SolutionHint::dual_values

Definition at line 127 of file model_solve_parameters.h.

◆ variable_values

VariableMap<double> operations_research::math_opt::ModelSolveParameters::SolutionHint::variable_values

Definition at line 123 of file model_solve_parameters.h.


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