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

Detailed Description

Definition at line 45 of file compute_infeasible_subsystem_result.h.

#include <compute_infeasible_subsystem_result.h>

Classes

struct  Bounds

Public Member Functions

ModelSubsetProto Proto () const
absl::Status CheckModelStorage (ModelStorageCPtr expected_storage) const
bool empty () const
std::string ToString () const

Static Public Member Functions

static absl::StatusOr< ModelSubsetFromProto (ModelStorageCPtr model, const ModelSubsetProto &proto)

Public Attributes

absl::flat_hash_map< Variable, Boundsvariable_bounds
absl::flat_hash_set< Variablevariable_integrality
absl::flat_hash_map< LinearConstraint, Boundslinear_constraints
absl::flat_hash_map< QuadraticConstraint, Boundsquadratic_constraints
absl::flat_hash_set< SecondOrderConeConstraintsecond_order_cone_constraints
absl::flat_hash_set< Sos1Constraintsos1_constraints
absl::flat_hash_set< Sos2Constraintsos2_constraints
absl::flat_hash_set< IndicatorConstraintindicator_constraints

Member Function Documentation

◆ CheckModelStorage()

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

Definition at line 186 of file compute_infeasible_subsystem_result.cc.

◆ empty()

bool operations_research::math_opt::ModelSubset::empty ( ) const

Definition at line 224 of file compute_infeasible_subsystem_result.cc.

◆ FromProto()

absl::StatusOr< ModelSubset > operations_research::math_opt::ModelSubset::FromProto ( ModelStorageCPtr model,
const ModelSubsetProto & proto )
static

Definition at line 136 of file compute_infeasible_subsystem_result.cc.

◆ Proto()

ModelSubsetProto operations_research::math_opt::ModelSubset::Proto ( ) const

Definition at line 169 of file compute_infeasible_subsystem_result.cc.

◆ ToString()

std::string operations_research::math_opt::ModelSubset::ToString ( ) const

Definition at line 231 of file compute_infeasible_subsystem_result.cc.

Member Data Documentation

◆ indicator_constraints

absl::flat_hash_set<IndicatorConstraint> operations_research::math_opt::ModelSubset::indicator_constraints

Definition at line 94 of file compute_infeasible_subsystem_result.h.

◆ linear_constraints

absl::flat_hash_map<LinearConstraint, Bounds> operations_research::math_opt::ModelSubset::linear_constraints

Definition at line 89 of file compute_infeasible_subsystem_result.h.

◆ quadratic_constraints

absl::flat_hash_map<QuadraticConstraint, Bounds> operations_research::math_opt::ModelSubset::quadratic_constraints

Definition at line 90 of file compute_infeasible_subsystem_result.h.

◆ second_order_cone_constraints

absl::flat_hash_set<SecondOrderConeConstraint> operations_research::math_opt::ModelSubset::second_order_cone_constraints

Definition at line 91 of file compute_infeasible_subsystem_result.h.

◆ sos1_constraints

absl::flat_hash_set<Sos1Constraint> operations_research::math_opt::ModelSubset::sos1_constraints

Definition at line 92 of file compute_infeasible_subsystem_result.h.

◆ sos2_constraints

absl::flat_hash_set<Sos2Constraint> operations_research::math_opt::ModelSubset::sos2_constraints

Definition at line 93 of file compute_infeasible_subsystem_result.h.

◆ variable_bounds

absl::flat_hash_map<Variable, Bounds> operations_research::math_opt::ModelSubset::variable_bounds

Definition at line 87 of file compute_infeasible_subsystem_result.h.

◆ variable_integrality

absl::flat_hash_set<Variable> operations_research::math_opt::ModelSubset::variable_integrality

Definition at line 88 of file compute_infeasible_subsystem_result.h.


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