Definition at line 345 of file model.h.
#include <model.h>
|
| | Model (absl::string_view name) |
| | ~Model () |
| Variable * | AddVariable (absl::string_view name, const Domain &domain, bool defined, bool set_is_fixed=false) |
| Variable * | AddConstant (int64_t value) |
| Variable * | AddFloatConstant (double value) |
| void | AddConstraint (absl::string_view id, std::vector< Argument > arguments, bool is_domain, bool symmetry, bool redundant) |
| void | AddConstraint (absl::string_view id, std::vector< Argument > arguments) |
| void | AddOutput (SolutionOutputSpecs output) |
| void | Satisfy (std::vector< Annotation > search_annotations) |
| void | Minimize (Variable *obj, std::vector< Annotation > search_annotations) |
| void | Maximize (Variable *obj, std::vector< Annotation > search_annotations) |
| bool | IsInconsistent () const |
| const std::vector< Variable * > & | variables () const |
| const std::vector< Constraint * > & | constraints () const |
| const std::vector< Annotation > & | search_annotations () const |
| const std::vector< SolutionOutputSpecs > & | output () const |
| bool | maximize () const |
| Variable * | objective () const |
| const std::vector< Variable * > & | float_objective_variables () const |
| const std::vector< double > & | float_objective_coefficients () const |
| double | float_objective_offset () const |
| void | SetObjective (Variable *obj) |
| void | ClearObjective () |
| void | AddFloatingPointObjectiveTerm (Variable *var, double coeff) |
| void | SetFloatingPointObjectiveOffset (double offset) |
| std::string | DebugString () const |
| const std::string & | name () const |
◆ Model()
| operations_research::fz::Model::Model |
( |
absl::string_view | name | ) |
|
|
inlineexplicit |
◆ ~Model()
| operations_research::fz::Model::~Model |
( |
| ) |
|
◆ AddConstant()
| Variable * operations_research::fz::Model::AddConstant |
( |
int64_t | value | ) |
|
◆ AddConstraint() [1/2]
| void operations_research::fz::Model::AddConstraint |
( |
absl::string_view | id, |
|
|
std::vector< Argument > | arguments ) |
◆ AddConstraint() [2/2]
| void operations_research::fz::Model::AddConstraint |
( |
absl::string_view | id, |
|
|
std::vector< Argument > | arguments, |
|
|
bool | is_domain, |
|
|
bool | symmetry, |
|
|
bool | redundant ) |
◆ AddFloatConstant()
| Variable * operations_research::fz::Model::AddFloatConstant |
( |
double | value | ) |
|
◆ AddFloatingPointObjectiveTerm()
| void operations_research::fz::Model::AddFloatingPointObjectiveTerm |
( |
Variable * | var, |
|
|
double | coeff ) |
|
inline |
◆ AddOutput()
◆ AddVariable()
| Variable * operations_research::fz::Model::AddVariable |
( |
absl::string_view | name, |
|
|
const Domain & | domain, |
|
|
bool | defined, |
|
|
bool | set_is_fixed = false ) |
◆ ClearObjective()
| void operations_research::fz::Model::ClearObjective |
( |
| ) |
|
|
inline |
◆ constraints()
| const std::vector< Constraint * > & operations_research::fz::Model::constraints |
( |
| ) |
const |
|
inline |
◆ DebugString()
| std::string operations_research::fz::Model::DebugString |
( |
| ) |
const |
◆ float_objective_coefficients()
| const std::vector< double > & operations_research::fz::Model::float_objective_coefficients |
( |
| ) |
const |
|
inline |
◆ float_objective_offset()
| double operations_research::fz::Model::float_objective_offset |
( |
| ) |
const |
|
inline |
◆ float_objective_variables()
| const std::vector< Variable * > & operations_research::fz::Model::float_objective_variables |
( |
| ) |
const |
|
inline |
◆ IsInconsistent()
| bool operations_research::fz::Model::IsInconsistent |
( |
| ) |
const |
◆ Maximize()
| void operations_research::fz::Model::Maximize |
( |
Variable * | obj, |
|
|
std::vector< Annotation > | search_annotations ) |
◆ maximize()
| bool operations_research::fz::Model::maximize |
( |
| ) |
const |
|
inline |
◆ Minimize()
| void operations_research::fz::Model::Minimize |
( |
Variable * | obj, |
|
|
std::vector< Annotation > | search_annotations ) |
◆ name()
| const std::string & operations_research::fz::Model::name |
( |
| ) |
const |
|
inline |
◆ objective()
| Variable * operations_research::fz::Model::objective |
( |
| ) |
const |
|
inline |
◆ output()
◆ Satisfy()
| void operations_research::fz::Model::Satisfy |
( |
std::vector< Annotation > | search_annotations | ) |
|
◆ search_annotations()
| const std::vector< Annotation > & operations_research::fz::Model::search_annotations |
( |
| ) |
const |
|
inline |
◆ SetFloatingPointObjectiveOffset()
| void operations_research::fz::Model::SetFloatingPointObjectiveOffset |
( |
double | offset | ) |
|
|
inline |
◆ SetObjective()
| void operations_research::fz::Model::SetObjective |
( |
Variable * | obj | ) |
|
|
inline |
◆ variables()
| const std::vector< Variable * > & operations_research::fz::Model::variables |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: