Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/strings/string_view.h"
#include "ortools/base/strong_int.h"
#include "ortools/math_opt/cpp/variable_and_expressions.h"
#include "ortools/math_opt/storage/linear_expression_data.h"
#include "ortools/math_opt/storage/model_storage.h"
Go to the source code of this file.
Namespaces | |
namespace | operations_research |
In SWIG mode, we don't want anything besides these top-level includes. | |
namespace | operations_research::math_opt |
An object oriented wrapper for quadratic constraints in ModelStorage. | |
Functions | |
LinearExpression | operations_research::math_opt::ToLinearExpression (const ModelStorage &storage, const LinearExpressionData &expr_data) |
LinearExpressionData | operations_research::math_opt::FromLinearExpression (const LinearExpression &expression) |
Converts a LinearExpression to the associated "raw ID" format. | |
template<typename IdType > | |
std::vector< Variable > | operations_research::math_opt::AtomicConstraintNonzeroVariables (const ModelStorage &storage, const IdType id) |
template<typename ConstraintType > | |
std::vector< ConstraintType > | operations_research::math_opt::AtomicConstraints (const ModelStorage &storage) |
template<typename ConstraintType > | |
std::vector< ConstraintType > | operations_research::math_opt::SortedAtomicConstraints (const ModelStorage &storage) |
Variables | |
constexpr absl::string_view | operations_research::math_opt::kDeletedConstraintDefaultDescription |