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

#include <constraint_solver.h>

Inheritance diagram for operations_research::Assignment:
operations_research::PropagationBaseObject operations_research::BaseObject

Public Types

typedef AssignmentContainer< IntVar, IntVarElementIntContainer
 
typedef AssignmentContainer< IntervalVar, IntervalVarElementIntervalContainer
 
typedef AssignmentContainer< SequenceVar, SequenceVarElementSequenceContainer
 

Public Member Functions

 Assignment (Solver *solver)
 
 Assignment (const Assignment *copy)
 --— Assignment --—
 
 Assignment (const Assignment &)=delete
 This type is neither copyable nor movable.
 
Assignmentoperator= (const Assignment &)=delete
 
 ~Assignment () override
 
void Clear ()
 
bool Empty () const
 
int Size () const
 
int NumIntVars () const
 
int NumIntervalVars () const
 
int NumSequenceVars () const
 
void Store ()
 
void Restore ()
 
bool Load (const std::string &filename)
 
bool Load (File *file)
 
void Load (const AssignmentProto &assignment_proto)
 if !defined(SWIG)
 
bool Save (const std::string &filename) const
 Saves the assignment to a file.
 
bool Save (File *file) const
 
void Save (AssignmentProto *assignment_proto) const
 
void AddObjective (IntVar *const v)
 
void AddObjectives (const std::vector< IntVar * > &vars)
 
void ClearObjective ()
 
int NumObjectives () const
 
IntVarObjective () const
 
IntVarObjectiveFromIndex (int index) const
 
bool HasObjective () const
 
bool HasObjectiveFromIndex (int index) const
 
int64_t ObjectiveMin () const
 
int64_t ObjectiveMax () const
 
int64_t ObjectiveValue () const
 
bool ObjectiveBound () const
 
void SetObjectiveMin (int64_t m)
 
void SetObjectiveMax (int64_t m)
 
void SetObjectiveValue (int64_t value)
 
void SetObjectiveRange (int64_t l, int64_t u)
 
int64_t ObjectiveMinFromIndex (int index) const
 
int64_t ObjectiveMaxFromIndex (int index) const
 
int64_t ObjectiveValueFromIndex (int index) const
 
bool ObjectiveBoundFromIndex (int index) const
 
void SetObjectiveMinFromIndex (int index, int64_t m)
 
void SetObjectiveMaxFromIndex (int index, int64_t m)
 
void SetObjectiveValueFromIndex (int index, int64_t value)
 
void SetObjectiveRangeFromIndex (int index, int64_t l, int64_t u)
 
IntVarElementAdd (IntVar *var)
 
void Add (const std::vector< IntVar * > &vars)
 
IntVarElementFastAdd (IntVar *var)
 Adds without checking if variable has been previously added.
 
int64_t Min (const IntVar *var) const
 
int64_t Max (const IntVar *var) const
 
int64_t Value (const IntVar *var) const
 
bool Bound (const IntVar *var) const
 
void SetMin (const IntVar *var, int64_t m)
 
void SetMax (const IntVar *var, int64_t m)
 
void SetRange (const IntVar *var, int64_t l, int64_t u)
 
void SetValue (const IntVar *var, int64_t value)
 
IntervalVarElementAdd (IntervalVar *var)
 --— Interval Var --—
 
void Add (const std::vector< IntervalVar * > &vars)
 
IntervalVarElementFastAdd (IntervalVar *var)
 Adds without checking if variable has been previously added.
 
int64_t StartMin (const IntervalVar *var) const
 
int64_t StartMax (const IntervalVar *var) const
 
int64_t StartValue (const IntervalVar *var) const
 
int64_t DurationMin (const IntervalVar *var) const
 
int64_t DurationMax (const IntervalVar *var) const
 
int64_t DurationValue (const IntervalVar *var) const
 
int64_t EndMin (const IntervalVar *var) const
 
int64_t EndMax (const IntervalVar *var) const
 
int64_t EndValue (const IntervalVar *var) const
 
int64_t PerformedMin (const IntervalVar *var) const
 
int64_t PerformedMax (const IntervalVar *var) const
 
int64_t PerformedValue (const IntervalVar *var) const
 
void SetStartMin (const IntervalVar *var, int64_t m)
 
void SetStartMax (const IntervalVar *var, int64_t m)
 
void SetStartRange (const IntervalVar *var, int64_t mi, int64_t ma)
 
void SetStartValue (const IntervalVar *var, int64_t value)
 
void SetDurationMin (const IntervalVar *var, int64_t m)
 
void SetDurationMax (const IntervalVar *var, int64_t m)
 
void SetDurationRange (const IntervalVar *var, int64_t mi, int64_t ma)
 
void SetDurationValue (const IntervalVar *var, int64_t value)
 
void SetEndMin (const IntervalVar *var, int64_t m)
 
void SetEndMax (const IntervalVar *var, int64_t m)
 
void SetEndRange (const IntervalVar *var, int64_t mi, int64_t ma)
 
void SetEndValue (const IntervalVar *var, int64_t value)
 
void SetPerformedMin (const IntervalVar *var, int64_t m)
 
void SetPerformedMax (const IntervalVar *var, int64_t m)
 
void SetPerformedRange (const IntervalVar *var, int64_t mi, int64_t ma)
 
void SetPerformedValue (const IntervalVar *var, int64_t value)
 
SequenceVarElementAdd (SequenceVar *var)
 --— Sequence Var --—
 
void Add (const std::vector< SequenceVar * > &vars)
 
SequenceVarElementFastAdd (SequenceVar *var)
 Adds without checking if the variable had been previously added.
 
const std::vector< int > & ForwardSequence (const SequenceVar *var) const
 
const std::vector< int > & BackwardSequence (const SequenceVar *var) const
 
const std::vector< int > & Unperformed (const SequenceVar *var) const
 
void SetSequence (const SequenceVar *var, const std::vector< int > &forward_sequence, const std::vector< int > &backward_sequence, const std::vector< int > &unperformed)
 
void SetForwardSequence (const SequenceVar *var, const std::vector< int > &forward_sequence)
 
void SetBackwardSequence (const SequenceVar *var, const std::vector< int > &backward_sequence)
 
void SetUnperformed (const SequenceVar *var, const std::vector< int > &unperformed)
 
void Activate (const IntVar *var)
 
void Deactivate (const IntVar *var)
 
bool Activated (const IntVar *var) const
 
void Activate (const IntervalVar *var)
 
void Deactivate (const IntervalVar *var)
 
bool Activated (const IntervalVar *var) const
 
void Activate (const SequenceVar *var)
 
void Deactivate (const SequenceVar *var)
 
bool Activated (const SequenceVar *var) const
 
void ActivateObjective ()
 
void DeactivateObjective ()
 
bool ActivatedObjective () const
 
void ActivateObjectiveFromIndex (int index)
 
void DeactivateObjectiveFromIndex (int index)
 
bool ActivatedObjectiveFromIndex (int index) const
 
std::string DebugString () const override
 
bool AreAllElementsBound () const
 
bool Contains (const IntVar *var) const
 
bool Contains (const IntervalVar *var) const
 
bool Contains (const SequenceVar *var) const
 
void CopyIntersection (const Assignment *assignment)
 
void Copy (const Assignment *assignment)
 
const IntContainerIntVarContainer () const
 
IntContainerMutableIntVarContainer ()
 
const IntervalContainerIntervalVarContainer () const
 
IntervalContainerMutableIntervalVarContainer ()
 
const SequenceContainerSequenceVarContainer () const
 
SequenceContainerMutableSequenceVarContainer ()
 
bool operator== (const Assignment &assignment) const
 
bool operator!= (const Assignment &assignment) const
 
- Public Member Functions inherited from operations_research::PropagationBaseObject
 PropagationBaseObject (Solver *const s)
 
 PropagationBaseObject (const PropagationBaseObject &)=delete
 This type is neither copyable nor movable.
 
PropagationBaseObjectoperator= (const PropagationBaseObject &)=delete
 
 ~PropagationBaseObject () override
 
std::string DebugString () const override
 
Solversolver () const
 
void FreezeQueue ()
 
void UnfreezeQueue ()
 
void EnqueueDelayedDemon (Demon *const d)
 
void EnqueueVar (Demon *const d)
 
void ExecuteAll (const SimpleRevFIFO< Demon * > &demons)
 
void EnqueueAll (const SimpleRevFIFO< Demon * > &demons)
 
void set_action_on_fail (Solver::Action a)
 
void reset_action_on_fail ()
 This method clears the failure callback.
 
void set_variable_to_clean_on_fail (IntVar *v)
 Shortcut for variable cleaner.
 
virtual std::string name () const
 Object naming.
 
void set_name (absl::string_view name)
 
bool HasName () const
 Returns whether the object has been named or not.
 
virtual std::string BaseName () const
 Returns a base name for automatic naming.
 
- Public Member Functions inherited from operations_research::BaseObject
 BaseObject ()
 
 BaseObject (const BaseObject &)=delete
 This type is neither copyable nor movable.
 
BaseObjectoperator= (const BaseObject &)=delete
 
virtual ~BaseObject ()
 

Detailed Description

An Assignment is a variable -> domains mapping, used to report solutions to the user.

Definition at line 5432 of file constraint_solver.h.

Member Typedef Documentation

◆ IntContainer

◆ IntervalContainer

◆ SequenceContainer

Constructor & Destructor Documentation

◆ Assignment() [1/3]

operations_research::Assignment::Assignment ( Solver * solver)
explicit

Definition at line 417 of file assignment.cc.

◆ Assignment() [2/3]

operations_research::Assignment::Assignment ( const Assignment * copy)
explicit

--— Assignment --—

Definition at line 410 of file assignment.cc.

◆ Assignment() [3/3]

operations_research::Assignment::Assignment ( const Assignment & )
delete

This type is neither copyable nor movable.

◆ ~Assignment()

operations_research::Assignment::~Assignment ( )
override

Definition at line 418 of file assignment.cc.

Member Function Documentation

◆ Activate() [1/3]

void operations_research::Assignment::Activate ( const IntervalVar * var)

Definition at line 887 of file assignment.cc.

◆ Activate() [2/3]

void operations_research::Assignment::Activate ( const IntVar * var)

Definition at line 875 of file assignment.cc.

◆ Activate() [3/3]

void operations_research::Assignment::Activate ( const SequenceVar * var)

Definition at line 899 of file assignment.cc.

◆ Activated() [1/3]

bool operations_research::Assignment::Activated ( const IntervalVar * var) const

Definition at line 895 of file assignment.cc.

◆ Activated() [2/3]

bool operations_research::Assignment::Activated ( const IntVar * var) const

Definition at line 883 of file assignment.cc.

◆ Activated() [3/3]

bool operations_research::Assignment::Activated ( const SequenceVar * var) const

Definition at line 907 of file assignment.cc.

◆ ActivatedObjective()

bool operations_research::Assignment::ActivatedObjective ( ) const
inline

Definition at line 5626 of file constraint_solver.h.

◆ ActivatedObjectiveFromIndex()

bool operations_research::Assignment::ActivatedObjectiveFromIndex ( int index) const
inline

Definition at line 5637 of file constraint_solver.h.

◆ ActivateObjective()

void operations_research::Assignment::ActivateObjective ( )
inline

Definition at line 5624 of file constraint_solver.h.

◆ ActivateObjectiveFromIndex()

void operations_research::Assignment::ActivateObjectiveFromIndex ( int index)
inline

Definition at line 5627 of file constraint_solver.h.

◆ Add() [1/6]

void operations_research::Assignment::Add ( const std::vector< IntervalVar * > & vars)

Definition at line 692 of file assignment.cc.

◆ Add() [2/6]

void operations_research::Assignment::Add ( const std::vector< IntVar * > & vars)

Definition at line 644 of file assignment.cc.

◆ Add() [3/6]

void operations_research::Assignment::Add ( const std::vector< SequenceVar * > & vars)

Definition at line 825 of file assignment.cc.

◆ Add() [4/6]

IntervalVarElement * operations_research::Assignment::Add ( IntervalVar * var)

--— Interval Var --—

Definition at line 688 of file assignment.cc.

◆ Add() [5/6]

IntVarElement * operations_research::Assignment::Add ( IntVar * var)

Definition at line 640 of file assignment.cc.

◆ Add() [6/6]

SequenceVarElement * operations_research::Assignment::Add ( SequenceVar * var)

--— Sequence Var --—

Definition at line 821 of file assignment.cc.

◆ AddObjective()

void operations_research::Assignment::AddObjective ( IntVar *const v)
inline

Definition at line 5479 of file constraint_solver.h.

◆ AddObjectives()

void operations_research::Assignment::AddObjectives ( const std::vector< IntVar * > & vars)
inline

Objective can only set once.

Definition at line 5480 of file constraint_solver.h.

◆ AreAllElementsBound()

bool operations_research::Assignment::AreAllElementsBound ( ) const
inline

Definition at line 5644 of file constraint_solver.h.

◆ BackwardSequence()

const std::vector< int > & operations_research::Assignment::BackwardSequence ( const SequenceVar * var) const

Definition at line 840 of file assignment.cc.

◆ Bound()

bool operations_research::Assignment::Bound ( const IntVar * var) const

Definition at line 666 of file assignment.cc.

◆ Clear()

void operations_research::Assignment::Clear ( )

Definition at line 420 of file assignment.cc.

◆ ClearObjective()

void operations_research::Assignment::ClearObjective ( )
inline

Definition at line 5490 of file constraint_solver.h.

◆ Contains() [1/3]

bool operations_research::Assignment::Contains ( const IntervalVar * var) const

Definition at line 915 of file assignment.cc.

◆ Contains() [2/3]

bool operations_research::Assignment::Contains ( const IntVar * var) const

Definition at line 911 of file assignment.cc.

◆ Contains() [3/3]

bool operations_research::Assignment::Contains ( const SequenceVar * var) const

Definition at line 919 of file assignment.cc.

◆ Copy()

void operations_research::Assignment::Copy ( const Assignment * assignment)

Copies 'assignment' to the current assignment, clearing its previous content.

Definition at line 940 of file assignment.cc.

◆ CopyIntersection()

void operations_research::Assignment::CopyIntersection ( const Assignment * assignment)

Copies the intersection of the two assignments to the current assignment.

Todo
(user): The current behavior is to copy the objective "prefix" which fits the notion of lexicographic objectives well. Reconsider if multiple objectives are used in another context.

Definition at line 923 of file assignment.cc.

◆ Deactivate() [1/3]

void operations_research::Assignment::Deactivate ( const IntervalVar * var)

Definition at line 891 of file assignment.cc.

◆ Deactivate() [2/3]

void operations_research::Assignment::Deactivate ( const IntVar * var)

Definition at line 879 of file assignment.cc.

◆ Deactivate() [3/3]

void operations_research::Assignment::Deactivate ( const SequenceVar * var)

Definition at line 903 of file assignment.cc.

◆ DeactivateObjective()

void operations_research::Assignment::DeactivateObjective ( )
inline

Definition at line 5625 of file constraint_solver.h.

◆ DeactivateObjectiveFromIndex()

void operations_research::Assignment::DeactivateObjectiveFromIndex ( int index)
inline

Definition at line 5632 of file constraint_solver.h.

◆ DebugString()

std::string operations_research::Assignment::DebugString ( ) const
overridevirtual

Reimplemented from operations_research::BaseObject.

Definition at line 623 of file assignment.cc.

◆ DurationMax()

int64_t operations_research::Assignment::DurationMax ( const IntervalVar * var) const

Definition at line 718 of file assignment.cc.

◆ DurationMin()

int64_t operations_research::Assignment::DurationMin ( const IntervalVar * var) const

Definition at line 714 of file assignment.cc.

◆ DurationValue()

int64_t operations_research::Assignment::DurationValue ( const IntervalVar * var) const

Definition at line 722 of file assignment.cc.

◆ Empty()

bool operations_research::Assignment::Empty ( ) const
inline

Definition at line 5452 of file constraint_solver.h.

◆ EndMax()

int64_t operations_research::Assignment::EndMax ( const IntervalVar * var) const

Definition at line 730 of file assignment.cc.

◆ EndMin()

int64_t operations_research::Assignment::EndMin ( const IntervalVar * var) const

Definition at line 726 of file assignment.cc.

◆ EndValue()

int64_t operations_research::Assignment::EndValue ( const IntervalVar * var) const

Definition at line 734 of file assignment.cc.

◆ FastAdd() [1/3]

IntervalVarElement * operations_research::Assignment::FastAdd ( IntervalVar * var)

Adds without checking if variable has been previously added.

Definition at line 698 of file assignment.cc.

◆ FastAdd() [2/3]

IntVarElement * operations_research::Assignment::FastAdd ( IntVar * var)

Adds without checking if variable has been previously added.

Definition at line 650 of file assignment.cc.

◆ FastAdd() [3/3]

SequenceVarElement * operations_research::Assignment::FastAdd ( SequenceVar * var)

Adds without checking if the variable had been previously added.

Definition at line 831 of file assignment.cc.

◆ ForwardSequence()

const std::vector< int > & operations_research::Assignment::ForwardSequence ( const SequenceVar * var) const

Definition at line 835 of file assignment.cc.

◆ HasObjective()

bool operations_research::Assignment::HasObjective ( ) const
inline

Definition at line 5497 of file constraint_solver.h.

◆ HasObjectiveFromIndex()

bool operations_research::Assignment::HasObjectiveFromIndex ( int index) const
inline

Definition at line 5498 of file constraint_solver.h.

◆ IntervalVarContainer()

const IntervalContainer & operations_research::Assignment::IntervalVarContainer ( ) const
inline

Definition at line 5663 of file constraint_solver.h.

◆ IntVarContainer()

const IntContainer & operations_research::Assignment::IntVarContainer ( ) const
inline
Todo
(user): Add element iterators to avoid exposing container class.

Definition at line 5661 of file constraint_solver.h.

◆ Load() [1/3]

void operations_research::Assignment::Load ( const AssignmentProto & assignment_proto)

if !defined(SWIG)

Definition at line 529 of file assignment.cc.

◆ Load() [2/3]

bool operations_research::Assignment::Load ( const std::string & filename)

Loads an assignment from a file; does not add variables to the assignment (only the variables contained in the assignment are modified).

Definition at line 483 of file assignment.cc.

◆ Load() [3/3]

bool operations_research::Assignment::Load ( File * file)

Definition at line 492 of file assignment.cc.

◆ Max()

int64_t operations_research::Assignment::Max ( const IntVar * var) const

Definition at line 658 of file assignment.cc.

◆ Min()

int64_t operations_research::Assignment::Min ( const IntVar * var) const

Definition at line 654 of file assignment.cc.

◆ MutableIntervalVarContainer()

IntervalContainer * operations_research::Assignment::MutableIntervalVarContainer ( )
inline

Definition at line 5666 of file constraint_solver.h.

◆ MutableIntVarContainer()

IntContainer * operations_research::Assignment::MutableIntVarContainer ( )
inline

Definition at line 5662 of file constraint_solver.h.

◆ MutableSequenceVarContainer()

SequenceContainer * operations_research::Assignment::MutableSequenceVarContainer ( )
inline

Definition at line 5672 of file constraint_solver.h.

◆ NumIntervalVars()

int operations_research::Assignment::NumIntervalVars ( ) const
inline

Definition at line 5460 of file constraint_solver.h.

◆ NumIntVars()

int operations_research::Assignment::NumIntVars ( ) const
inline

Definition at line 5459 of file constraint_solver.h.

◆ NumObjectives()

int operations_research::Assignment::NumObjectives ( ) const
inline

Definition at line 5491 of file constraint_solver.h.

◆ NumSequenceVars()

int operations_research::Assignment::NumSequenceVars ( ) const
inline

Definition at line 5461 of file constraint_solver.h.

◆ Objective()

IntVar * operations_research::Assignment::Objective ( ) const
inline

Definition at line 5492 of file constraint_solver.h.

◆ ObjectiveBound()

bool operations_research::Assignment::ObjectiveBound ( ) const
inline

Definition at line 5504 of file constraint_solver.h.

◆ ObjectiveBoundFromIndex()

bool operations_research::Assignment::ObjectiveBoundFromIndex ( int index) const
inline

Definition at line 5523 of file constraint_solver.h.

◆ ObjectiveFromIndex()

IntVar * operations_research::Assignment::ObjectiveFromIndex ( int index) const
inline

Definition at line 5493 of file constraint_solver.h.

◆ ObjectiveMax()

int64_t operations_research::Assignment::ObjectiveMax ( ) const
inline

Definition at line 5502 of file constraint_solver.h.

◆ ObjectiveMaxFromIndex()

int64_t operations_research::Assignment::ObjectiveMaxFromIndex ( int index) const
inline

Definition at line 5516 of file constraint_solver.h.

◆ ObjectiveMin()

int64_t operations_research::Assignment::ObjectiveMin ( ) const
inline

Definition at line 5501 of file constraint_solver.h.

◆ ObjectiveMinFromIndex()

int64_t operations_research::Assignment::ObjectiveMinFromIndex ( int index) const
inline

Definition at line 5513 of file constraint_solver.h.

◆ ObjectiveValue()

int64_t operations_research::Assignment::ObjectiveValue ( ) const
inline

Definition at line 5503 of file constraint_solver.h.

◆ ObjectiveValueFromIndex()

int64_t operations_research::Assignment::ObjectiveValueFromIndex ( int index) const
inline

Definition at line 5519 of file constraint_solver.h.

◆ operator!=()

bool operations_research::Assignment::operator!= ( const Assignment & assignment) const
inline

Definition at line 5681 of file constraint_solver.h.

◆ operator=()

Assignment & operations_research::Assignment::operator= ( const Assignment & )
delete

◆ operator==()

bool operations_research::Assignment::operator== ( const Assignment & assignment) const
inline

Definition at line 5675 of file constraint_solver.h.

◆ PerformedMax()

int64_t operations_research::Assignment::PerformedMax ( const IntervalVar * var) const

Definition at line 742 of file assignment.cc.

◆ PerformedMin()

int64_t operations_research::Assignment::PerformedMin ( const IntervalVar * var) const

Definition at line 738 of file assignment.cc.

◆ PerformedValue()

int64_t operations_research::Assignment::PerformedValue ( const IntervalVar * var) const

Definition at line 746 of file assignment.cc.

◆ Restore()

void operations_research::Assignment::Restore ( )

Definition at line 436 of file assignment.cc.

◆ Save() [1/3]

void operations_research::Assignment::Save ( AssignmentProto * assignment_proto) const

Definition at line 590 of file assignment.cc.

◆ Save() [2/3]

bool operations_research::Assignment::Save ( const std::string & filename) const

Saves the assignment to a file.

Definition at line 560 of file assignment.cc.

◆ Save() [3/3]

bool operations_research::Assignment::Save ( File * file) const

Definition at line 569 of file assignment.cc.

◆ SequenceVarContainer()

const SequenceContainer & operations_research::Assignment::SequenceVarContainer ( ) const
inline

Definition at line 5669 of file constraint_solver.h.

◆ SetBackwardSequence()

void operations_research::Assignment::SetBackwardSequence ( const SequenceVar * var,
const std::vector< int > & backward_sequence )

Definition at line 864 of file assignment.cc.

◆ SetDurationMax()

void operations_research::Assignment::SetDurationMax ( const IntervalVar * var,
int64_t m )

Definition at line 771 of file assignment.cc.

◆ SetDurationMin()

void operations_research::Assignment::SetDurationMin ( const IntervalVar * var,
int64_t m )

Definition at line 767 of file assignment.cc.

◆ SetDurationRange()

void operations_research::Assignment::SetDurationRange ( const IntervalVar * var,
int64_t mi,
int64_t ma )

Definition at line 775 of file assignment.cc.

◆ SetDurationValue()

void operations_research::Assignment::SetDurationValue ( const IntervalVar * var,
int64_t value )

Definition at line 780 of file assignment.cc.

◆ SetEndMax()

void operations_research::Assignment::SetEndMax ( const IntervalVar * var,
int64_t m )

Definition at line 788 of file assignment.cc.

◆ SetEndMin()

void operations_research::Assignment::SetEndMin ( const IntervalVar * var,
int64_t m )

Definition at line 784 of file assignment.cc.

◆ SetEndRange()

void operations_research::Assignment::SetEndRange ( const IntervalVar * var,
int64_t mi,
int64_t ma )

Definition at line 792 of file assignment.cc.

◆ SetEndValue()

void operations_research::Assignment::SetEndValue ( const IntervalVar * var,
int64_t value )

Definition at line 797 of file assignment.cc.

◆ SetForwardSequence()

void operations_research::Assignment::SetForwardSequence ( const SequenceVar * var,
const std::vector< int > & forward_sequence )

Definition at line 858 of file assignment.cc.

◆ SetMax()

void operations_research::Assignment::SetMax ( const IntVar * var,
int64_t m )

Definition at line 674 of file assignment.cc.

◆ SetMin()

void operations_research::Assignment::SetMin ( const IntVar * var,
int64_t m )

Definition at line 670 of file assignment.cc.

◆ SetObjectiveMax()

void operations_research::Assignment::SetObjectiveMax ( int64_t m)
inline

Definition at line 5506 of file constraint_solver.h.

◆ SetObjectiveMaxFromIndex()

void operations_research::Assignment::SetObjectiveMaxFromIndex ( int index,
int64_t m )
inline

Definition at line 5532 of file constraint_solver.h.

◆ SetObjectiveMin()

void operations_research::Assignment::SetObjectiveMin ( int64_t m)
inline

Definition at line 5505 of file constraint_solver.h.

◆ SetObjectiveMinFromIndex()

void operations_research::Assignment::SetObjectiveMinFromIndex ( int index,
int64_t m )
inline

Definition at line 5527 of file constraint_solver.h.

◆ SetObjectiveRange()

void operations_research::Assignment::SetObjectiveRange ( int64_t l,
int64_t u )
inline

Definition at line 5510 of file constraint_solver.h.

◆ SetObjectiveRangeFromIndex()

void operations_research::Assignment::SetObjectiveRangeFromIndex ( int index,
int64_t l,
int64_t u )
inline

Definition at line 5542 of file constraint_solver.h.

◆ SetObjectiveValue()

void operations_research::Assignment::SetObjectiveValue ( int64_t value)
inline

Definition at line 5507 of file constraint_solver.h.

◆ SetObjectiveValueFromIndex()

void operations_research::Assignment::SetObjectiveValueFromIndex ( int index,
int64_t value )
inline

Definition at line 5537 of file constraint_solver.h.

◆ SetPerformedMax()

void operations_research::Assignment::SetPerformedMax ( const IntervalVar * var,
int64_t m )

Definition at line 805 of file assignment.cc.

◆ SetPerformedMin()

void operations_research::Assignment::SetPerformedMin ( const IntervalVar * var,
int64_t m )

Definition at line 801 of file assignment.cc.

◆ SetPerformedRange()

void operations_research::Assignment::SetPerformedRange ( const IntervalVar * var,
int64_t mi,
int64_t ma )

Definition at line 809 of file assignment.cc.

◆ SetPerformedValue()

void operations_research::Assignment::SetPerformedValue ( const IntervalVar * var,
int64_t value )

Definition at line 814 of file assignment.cc.

◆ SetRange()

void operations_research::Assignment::SetRange ( const IntVar * var,
int64_t l,
int64_t u )

Definition at line 678 of file assignment.cc.

◆ SetSequence()

void operations_research::Assignment::SetSequence ( const SequenceVar * var,
const std::vector< int > & forward_sequence,
const std::vector< int > & backward_sequence,
const std::vector< int > & unperformed )

Definition at line 850 of file assignment.cc.

◆ SetStartMax()

void operations_research::Assignment::SetStartMax ( const IntervalVar * var,
int64_t m )

Definition at line 754 of file assignment.cc.

◆ SetStartMin()

void operations_research::Assignment::SetStartMin ( const IntervalVar * var,
int64_t m )

Definition at line 750 of file assignment.cc.

◆ SetStartRange()

void operations_research::Assignment::SetStartRange ( const IntervalVar * var,
int64_t mi,
int64_t ma )

Definition at line 758 of file assignment.cc.

◆ SetStartValue()

void operations_research::Assignment::SetStartValue ( const IntervalVar * var,
int64_t value )

Definition at line 763 of file assignment.cc.

◆ SetUnperformed()

void operations_research::Assignment::SetUnperformed ( const SequenceVar * var,
const std::vector< int > & unperformed )

Definition at line 870 of file assignment.cc.

◆ SetValue()

void operations_research::Assignment::SetValue ( const IntVar * var,
int64_t value )

Definition at line 682 of file assignment.cc.

◆ Size()

int operations_research::Assignment::Size ( ) const
inline

Definition at line 5456 of file constraint_solver.h.

◆ StartMax()

int64_t operations_research::Assignment::StartMax ( const IntervalVar * var) const

Definition at line 706 of file assignment.cc.

◆ StartMin()

int64_t operations_research::Assignment::StartMin ( const IntervalVar * var) const

Definition at line 702 of file assignment.cc.

◆ StartValue()

int64_t operations_research::Assignment::StartValue ( const IntervalVar * var) const

Definition at line 710 of file assignment.cc.

◆ Store()

void operations_research::Assignment::Store ( )

Definition at line 427 of file assignment.cc.

◆ Unperformed()

const std::vector< int > & operations_research::Assignment::Unperformed ( const SequenceVar * var) const

Definition at line 845 of file assignment.cc.

◆ Value()

int64_t operations_research::Assignment::Value ( const IntVar * var) const

Definition at line 662 of file assignment.cc.


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