#include <routing_lp_scheduling.h>

|
| | RoutingCPSatWrapper (RoutingSearchStats *const search_stats) |
| | ~RoutingCPSatWrapper () override |
| void | Clear () override |
| int | CreateNewPositiveVariable () override |
| void | SetVariableName (int index, absl::string_view name) override |
| bool | SetVariableBounds (int index, int64_t lower_bound, int64_t upper_bound) override |
| void | SetVariableDisjointBounds (int index, const std::vector< int64_t > &starts, const std::vector< int64_t > &ends) override |
| int64_t | GetVariableLowerBound (int index) const override |
| int64_t | GetVariableUpperBound (int index) const override |
| void | SetObjectiveCoefficient (int index, double coefficient) override |
| double | GetObjectiveCoefficient (int index) const override |
| void | ClearObjective () override |
| int | NumVariables () const override |
| int | CreateNewConstraint (int64_t lower_bound, int64_t upper_bound) override |
| void | SetCoefficient (int ct_index, int index, double coefficient) override |
| bool | IsCPSATSolver () override |
| void | AddObjectiveConstraint () override |
| void | AddMaximumConstraint (int max_var, std::vector< int > vars) override |
| void | AddProductConstraint (int product_var, std::vector< int > vars) override |
| void | SetEnforcementLiteral (int ct, int condition) override |
| void | AddRoute (absl::Span< const int64_t > nodes, absl::Span< const int > schedule_variables) override |
| DimensionSchedulingStatus | Solve (absl::Duration duration_limit) override |
| int64_t | GetObjectiveValue () const override |
| int64_t | GetVariableValue (int index) const override |
| bool | SolutionIsInteger () const override |
| void | SetParameters (const std::string &) override |
| bool | ModelIsEmpty () const override |
| std::string | PrintModel () const override |
| Public Member Functions inherited from operations_research::RoutingLinearSolverWrapper |
| | RoutingLinearSolverWrapper (RoutingSearchStats *search_stats) |
| virtual | ~RoutingLinearSolverWrapper ()=default |
| int | AddVariable (int64_t lower_bound, int64_t upper_bound) |
| int | AddLinearConstraint (int64_t lower_bound, int64_t upper_bound, absl::Span< const std::pair< int, double > > variable_coeffs) |
| int | AddReifiedLinearConstraint (int64_t lower_bound, int64_t upper_bound, absl::Span< const std::pair< int, double > > weighted_variables) |
| operations_research::RoutingCPSatWrapper::RoutingCPSatWrapper |
( |
RoutingSearchStats *const | search_stats | ) |
|
|
inlineexplicit |
◆ ~RoutingCPSatWrapper()
| operations_research::RoutingCPSatWrapper::~RoutingCPSatWrapper |
( |
| ) |
|
|
inlineoverride |
◆ AddMaximumConstraint()
| void operations_research::RoutingCPSatWrapper::AddMaximumConstraint |
( |
int | max_var, |
|
|
std::vector< int > | vars ) |
|
inlineoverridevirtual |
◆ AddObjectiveConstraint()
| void operations_research::RoutingCPSatWrapper::AddObjectiveConstraint |
( |
| ) |
|
|
inlineoverridevirtual |
◆ AddProductConstraint()
| void operations_research::RoutingCPSatWrapper::AddProductConstraint |
( |
int | product_var, |
|
|
std::vector< int > | vars ) |
|
inlineoverridevirtual |
◆ AddRoute()
| void operations_research::RoutingCPSatWrapper::AddRoute |
( |
absl::Span< const int64_t > | nodes, |
|
|
absl::Span< const int > | schedule_variables ) |
|
inlineoverridevirtual |
◆ Clear()
| void operations_research::RoutingCPSatWrapper::Clear |
( |
| ) |
|
|
inlineoverridevirtual |
◆ ClearObjective()
| void operations_research::RoutingCPSatWrapper::ClearObjective |
( |
| ) |
|
|
inlineoverridevirtual |
◆ CreateNewConstraint()
| int operations_research::RoutingCPSatWrapper::CreateNewConstraint |
( |
int64_t | lower_bound, |
|
|
int64_t | upper_bound ) |
|
inlineoverridevirtual |
◆ CreateNewPositiveVariable()
| int operations_research::RoutingCPSatWrapper::CreateNewPositiveVariable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetObjectiveCoefficient()
| double operations_research::RoutingCPSatWrapper::GetObjectiveCoefficient |
( |
int | index | ) |
const |
|
inlineoverridevirtual |
◆ GetObjectiveValue()
| int64_t operations_research::RoutingCPSatWrapper::GetObjectiveValue |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetVariableLowerBound()
| int64_t operations_research::RoutingCPSatWrapper::GetVariableLowerBound |
( |
int | index | ) |
const |
|
inlineoverridevirtual |
◆ GetVariableUpperBound()
| int64_t operations_research::RoutingCPSatWrapper::GetVariableUpperBound |
( |
int | index | ) |
const |
|
inlineoverridevirtual |
◆ GetVariableValue()
| int64_t operations_research::RoutingCPSatWrapper::GetVariableValue |
( |
int | index | ) |
const |
|
inlineoverridevirtual |
◆ IsCPSATSolver()
| bool operations_research::RoutingCPSatWrapper::IsCPSATSolver |
( |
| ) |
|
|
inlineoverridevirtual |
◆ ModelIsEmpty()
| bool operations_research::RoutingCPSatWrapper::ModelIsEmpty |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ NumVariables()
| int operations_research::RoutingCPSatWrapper::NumVariables |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintModel()
| std::string operations_research::RoutingCPSatWrapper::PrintModel |
( |
| ) |
const |
|
overridevirtual |
◆ SetCoefficient()
| void operations_research::RoutingCPSatWrapper::SetCoefficient |
( |
int | ct_index, |
|
|
int | index, |
|
|
double | coefficient ) |
|
inlineoverridevirtual |
◆ SetEnforcementLiteral()
| void operations_research::RoutingCPSatWrapper::SetEnforcementLiteral |
( |
int | ct, |
|
|
int | condition ) |
|
inlineoverridevirtual |
◆ SetObjectiveCoefficient()
| void operations_research::RoutingCPSatWrapper::SetObjectiveCoefficient |
( |
int | index, |
|
|
double | coefficient ) |
|
inlineoverridevirtual |
◆ SetParameters()
| void operations_research::RoutingCPSatWrapper::SetParameters |
( |
const std::string & | | ) |
|
|
inlineoverridevirtual |
◆ SetVariableBounds()
| bool operations_research::RoutingCPSatWrapper::SetVariableBounds |
( |
int | index, |
|
|
int64_t | lower_bound, |
|
|
int64_t | upper_bound ) |
|
inlineoverridevirtual |
◆ SetVariableDisjointBounds()
| void operations_research::RoutingCPSatWrapper::SetVariableDisjointBounds |
( |
int | index, |
|
|
const std::vector< int64_t > & | starts, |
|
|
const std::vector< int64_t > & | ends ) |
|
inlineoverridevirtual |
◆ SetVariableName()
| void operations_research::RoutingCPSatWrapper::SetVariableName |
( |
int | index, |
|
|
absl::string_view | name ) |
|
inlineoverridevirtual |
◆ SolutionIsInteger()
| bool operations_research::RoutingCPSatWrapper::SolutionIsInteger |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Solve()
The documentation for this class was generated from the following files: