Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::RoutingGlopWrapper Class Reference

Detailed Description

Definition at line 283 of file routing_lp_scheduling.h.

#include <routing_lp_scheduling.h>

Inheritance diagram for operations_research::RoutingGlopWrapper:
operations_research::RoutingLinearSolverWrapper

Public Member Functions

 RoutingGlopWrapper (bool is_relaxation, const glop::GlopParameters &parameters, RoutingSearchStats *search_stats)
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, int index, double coefficient) override
bool IsCPSATSolver () override
void AddObjectiveConstraint () override
void AddMaximumConstraint (int, std::vector< int >) override
void AddProductConstraint (int, std::vector< int >) override
void SetEnforcementLiteral (int, int) override
void AddRoute (absl::Span< const int64_t >, absl::Span< const int >) 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 &parameters) override
std::string PrintModel () const override
Public Member Functions inherited from operations_research::RoutingLinearSolverWrapper
 RoutingLinearSolverWrapper (RoutingSearchStats *search_stats)
virtual ~RoutingLinearSolverWrapper ()=default
virtual bool ModelIsEmpty () const
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)

Additional Inherited Members

Static Public Attributes inherited from operations_research::RoutingLinearSolverWrapper
static const int kNoConstraint = -1
Protected Attributes inherited from operations_research::RoutingLinearSolverWrapper
RoutingSearchStats *const search_stats_

Constructor & Destructor Documentation

◆ RoutingGlopWrapper()

operations_research::RoutingGlopWrapper::RoutingGlopWrapper ( bool is_relaxation,
const glop::GlopParameters & parameters,
RoutingSearchStats * search_stats )
inline

Definition at line 285 of file routing_lp_scheduling.h.

Member Function Documentation

◆ AddMaximumConstraint()

void operations_research::RoutingGlopWrapper::AddMaximumConstraint ( int ,
std::vector< int >  )
inlineoverridevirtual

◆ AddObjectiveConstraint()

void operations_research::RoutingGlopWrapper::AddObjectiveConstraint ( )
inlineoverridevirtual

◆ AddProductConstraint()

void operations_research::RoutingGlopWrapper::AddProductConstraint ( int ,
std::vector< int >  )
inlineoverridevirtual

◆ AddRoute()

void operations_research::RoutingGlopWrapper::AddRoute ( absl::Span< const int64_t > ,
absl::Span< const int >  )
inlineoverridevirtual

◆ Clear()

void operations_research::RoutingGlopWrapper::Clear ( )
inlineoverridevirtual

◆ ClearObjective()

void operations_research::RoutingGlopWrapper::ClearObjective ( )
inlineoverridevirtual

◆ CreateNewConstraint()

int operations_research::RoutingGlopWrapper::CreateNewConstraint ( int64_t lower_bound,
int64_t upper_bound )
inlineoverridevirtual

◆ CreateNewPositiveVariable()

int operations_research::RoutingGlopWrapper::CreateNewPositiveVariable ( )
inlineoverridevirtual

◆ GetObjectiveCoefficient()

double operations_research::RoutingGlopWrapper::GetObjectiveCoefficient ( int index) const
inlineoverridevirtual

◆ GetObjectiveValue()

int64_t operations_research::RoutingGlopWrapper::GetObjectiveValue ( ) const
inlineoverridevirtual

◆ GetVariableLowerBound()

int64_t operations_research::RoutingGlopWrapper::GetVariableLowerBound ( int index) const
inlineoverridevirtual

◆ GetVariableUpperBound()

int64_t operations_research::RoutingGlopWrapper::GetVariableUpperBound ( int index) const
inlineoverridevirtual

◆ GetVariableValue()

int64_t operations_research::RoutingGlopWrapper::GetVariableValue ( int index) const
inlineoverridevirtual

◆ IsCPSATSolver()

bool operations_research::RoutingGlopWrapper::IsCPSATSolver ( )
inlineoverridevirtual

◆ NumVariables()

int operations_research::RoutingGlopWrapper::NumVariables ( ) const
inlineoverridevirtual

◆ PrintModel()

std::string operations_research::RoutingGlopWrapper::PrintModel ( ) const
inlineoverridevirtual

◆ SetCoefficient()

void operations_research::RoutingGlopWrapper::SetCoefficient ( int ct,
int index,
double coefficient )
inlineoverridevirtual

◆ SetEnforcementLiteral()

void operations_research::RoutingGlopWrapper::SetEnforcementLiteral ( int ,
int  )
inlineoverridevirtual

◆ SetObjectiveCoefficient()

void operations_research::RoutingGlopWrapper::SetObjectiveCoefficient ( int index,
double coefficient )
inlineoverridevirtual

◆ SetParameters()

void operations_research::RoutingGlopWrapper::SetParameters ( const std::string & parameters)
inlineoverridevirtual

◆ SetVariableBounds()

bool operations_research::RoutingGlopWrapper::SetVariableBounds ( int index,
int64_t lower_bound,
int64_t upper_bound )
inlineoverridevirtual

◆ SetVariableDisjointBounds()

void operations_research::RoutingGlopWrapper::SetVariableDisjointBounds ( int index,
const std::vector< int64_t > & starts,
const std::vector< int64_t > & ends )
inlineoverridevirtual

◆ SetVariableName()

void operations_research::RoutingGlopWrapper::SetVariableName ( int index,
absl::string_view name )
inlineoverridevirtual

◆ SolutionIsInteger()

bool operations_research::RoutingGlopWrapper::SolutionIsInteger ( ) const
inlineoverridevirtual

◆ Solve()

DimensionSchedulingStatus operations_research::RoutingGlopWrapper::Solve ( absl::Duration duration_limit)
inlineoverridevirtual

The documentation for this class was generated from the following file: