![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Information on what should be displayed when a solution is found. It follows the flatzinc specification (www.minizinc.org).
#include <model.h>
Classes | |
| struct | Bounds |
Public Member Functions | |
| std::string | DebugString () const |
Static Public Member Functions | |
| static SolutionOutputSpecs | SingleVariable (absl::string_view name, Variable *variable, bool display_as_boolean) |
| Will output: name = <variable value>. | |
| static SolutionOutputSpecs | MultiDimensionalArray (absl::string_view name, std::vector< Bounds > bounds, std::vector< Variable * > flat_variables, bool display_as_boolean) |
| static SolutionOutputSpecs | VoidOutput () |
| Empty output. | |
Public Attributes | |
| std::string | name |
| Variable * | variable |
| std::vector< Variable * > | flat_variables |
| std::vector< Bounds > | bounds |
| bool | display_as_boolean |
| std::string operations_research::fz::SolutionOutputSpecs::DebugString | ( | ) | const |
|
static |
|
static |
|
static |
| std::vector<Bounds> operations_research::fz::SolutionOutputSpecs::bounds |
| bool operations_research::fz::SolutionOutputSpecs::display_as_boolean |
| std::vector<Variable*> operations_research::fz::SolutionOutputSpecs::flat_variables |
| std::string operations_research::fz::SolutionOutputSpecs::name |
| Variable* operations_research::fz::SolutionOutputSpecs::variable |