Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model_builder_helper.h File Reference
#include <algorithm>
#include <atomic>
#include <cstdint>
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "absl/container/btree_map.h"
#include "absl/container/fixed_array.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "ortools/linear_solver/linear_solver.pb.h"
#include "ortools/linear_solver/model_exporter.h"
#include "ortools/util/solve_interrupter.h"

Go to the source code of this file.

Classes

class  operations_research::mb::LinearExpr
 A linear expression that containing variables and constants. More...
 
struct  operations_research::mb::VariableComparator
 Compare the indices of variables. More...
 
class  operations_research::mb::ExprVisitor
 A visitor class to parse a floating point linear expression. More...
 
class  operations_research::mb::ExprFlattener
 
class  operations_research::mb::ExprEvaluator
 
class  operations_research::mb::FlatExpr
 A flat linear expression sum(vars[i] * coeffs[i]) + offset. More...
 
class  operations_research::mb::SumArray
 
class  operations_research::mb::WeightedSumArray
 A class to hold a weighted sum of floating point linear expressions. More...
 
class  operations_research::mb::AffineExpr
 A class to hold linear_expr * a = b. More...
 
class  operations_research::mb::FixedValue
 A class to hold a fixed value. More...
 
class  operations_research::mb::Variable
 A class to hold a variable index. More...
 
class  operations_research::mb::BoundedLinearExpression
 A class to hold a linear expression with bounds. More...
 
class  operations_research::mb::ModelBuilderHelper
 
class  operations_research::mb::MbLogCallback
 Simple director class for C#. More...
 
class  operations_research::mb::ModelSolverHelper
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::mb
 

Enumerations

enum  operations_research::mb::SolveStatus {
  operations_research::mb::OPTIMAL , operations_research::mb::FEASIBLE , operations_research::mb::INFEASIBLE , operations_research::mb::UNBOUNDED ,
  operations_research::mb::ABNORMAL , operations_research::mb::NOT_SOLVED , operations_research::mb::MODEL_IS_VALID , operations_research::mb::CANCELLED_BY_USER ,
  operations_research::mb::UNKNOWN_STATUS , operations_research::mb::MODEL_INVALID , operations_research::mb::INVALID_SOLVER_PARAMETERS , operations_research::mb::SOLVER_TYPE_UNAVAILABLE ,
  operations_research::mb::INCOMPATIBLE_OPTIONS
}
 

Functions

template<typename H>
operations_research::mb::AbslHashValue (H h, std::shared_ptr< Variable > i)