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

#include <model_summary.h>

Public Member Functions

 ModelSummary (bool check_names=true)
 
absl::Status Update (const ModelUpdateProto &model_update)
 

Static Public Member Functions

static absl::StatusOr< ModelSummaryCreate (const ModelProto &model, bool check_names=true)
 

Public Attributes

IdNameBiMap variables
 
std::string primary_objective_name
 
IdNameBiMap auxiliary_objectives
 
IdNameBiMap linear_constraints
 
IdNameBiMap quadratic_constraints
 
IdNameBiMap second_order_cone_constraints
 
IdNameBiMap sos1_constraints
 
IdNameBiMap sos2_constraints
 
IdNameBiMap indicator_constraints
 
bool maximize = false
 

Detailed Description

Definition at line 128 of file model_summary.h.

Constructor & Destructor Documentation

◆ ModelSummary()

operations_research::math_opt::ModelSummary::ModelSummary ( bool check_names = true)
explicit

Definition at line 119 of file model_summary.cc.

Member Function Documentation

◆ Create()

absl::StatusOr< ModelSummary > operations_research::math_opt::ModelSummary::Create ( const ModelProto & model,
bool check_names = true )
static

Definition at line 129 of file model_summary.cc.

◆ Update()

absl::Status operations_research::math_opt::ModelSummary::Update ( const ModelUpdateProto & model_update)

Definition at line 169 of file model_summary.cc.

Member Data Documentation

◆ auxiliary_objectives

IdNameBiMap operations_research::math_opt::ModelSummary::auxiliary_objectives

Definition at line 136 of file model_summary.h.

◆ indicator_constraints

IdNameBiMap operations_research::math_opt::ModelSummary::indicator_constraints

Definition at line 142 of file model_summary.h.

◆ linear_constraints

IdNameBiMap operations_research::math_opt::ModelSummary::linear_constraints

Definition at line 137 of file model_summary.h.

◆ maximize

bool operations_research::math_opt::ModelSummary::maximize = false

Definition at line 143 of file model_summary.h.

◆ primary_objective_name

std::string operations_research::math_opt::ModelSummary::primary_objective_name

Definition at line 135 of file model_summary.h.

◆ quadratic_constraints

IdNameBiMap operations_research::math_opt::ModelSummary::quadratic_constraints

Definition at line 138 of file model_summary.h.

◆ second_order_cone_constraints

IdNameBiMap operations_research::math_opt::ModelSummary::second_order_cone_constraints

Definition at line 139 of file model_summary.h.

◆ sos1_constraints

IdNameBiMap operations_research::math_opt::ModelSummary::sos1_constraints

Definition at line 140 of file model_summary.h.

◆ sos2_constraints

IdNameBiMap operations_research::math_opt::ModelSummary::sos2_constraints

Definition at line 141 of file model_summary.h.

◆ variables

IdNameBiMap operations_research::math_opt::ModelSummary::variables

Definition at line 134 of file model_summary.h.


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