C++ Reference
C++ Reference: Routing
Detailed Description
Definition at line 134 of file routing_lp_scheduling.h.
Public Member Functions | |
virtual | ~RoutingLinearSolverWrapper () |
virtual void | Clear ()=0 |
virtual int | CreateNewPositiveVariable ()=0 |
virtual bool | SetVariableBounds (int index, int64 lower_bound, int64 upper_bound)=0 |
virtual void | SetVariableDisjointBounds (int index, const std::vector< int64 > &starts, const std::vector< int64 > &ends)=0 |
virtual int64 | GetVariableLowerBound (int index) const =0 |
virtual void | SetObjectiveCoefficient (int index, double coefficient)=0 |
virtual double | GetObjectiveCoefficient (int index) const =0 |
virtual void | ClearObjective ()=0 |
virtual int | NumVariables () const =0 |
virtual int | CreateNewConstraint (int64 lower_bound, int64 upper_bound)=0 |
virtual void | SetCoefficient (int ct, int index, double coefficient)=0 |
virtual DimensionSchedulingStatus | Solve (absl::Duration duration_limit)=0 |
virtual double | GetObjectiveValue () const =0 |
virtual double | GetValue (int index) const =0 |
Constructor & Destructor Documentation
◆ ~RoutingLinearSolverWrapper()
|
inlinevirtual |
Definition at line 136 of file routing_lp_scheduling.h.
Member Function Documentation
◆ Clear()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ ClearObjective()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ CreateNewConstraint()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ CreateNewPositiveVariable()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ GetObjectiveCoefficient()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ GetObjectiveValue()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ GetValue()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ GetVariableLowerBound()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ NumVariables()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ SetCoefficient()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ SetObjectiveCoefficient()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ SetVariableBounds()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ SetVariableDisjointBounds()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
◆ Solve()
|
pure virtual |
Implemented in RoutingCPSatWrapper, and RoutingGlopWrapper.
The documentation for this class was generated from the following file: