![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Stores the mapping integer_variable -> glop::ColIndex. This is shared across all LP, which is fine since there are disjoint.
Definition at line 61 of file linear_constraint_manager.h.
#include <linear_constraint_manager.h>
Public Member Functions | |
| ModelLpVariableMapping ()=default | |
| Public Member Functions inherited from util_intops::StrongVector< IntegerVariable, glop::ColIndex > | |
| StrongVector () | |
| ~StrongVector () | |
| const ParentType & | get () const |
| ParentType * | mutable_get () |
| reference | operator[] (IntegerVariable i) |
| – Modified methods ----------------------------------------------------— | |
| reference | at (IntegerVariable i) |
| IntegerVariable | start_index () const |
| – Extension methods ---------------------------------------------------— | |
| IntegerVariable | end_index () const |
| bool | IsValidSize () const |
| Returns true if the vector is fully addressable by the index type. | |
| StrongIntRange< IntegerVariable > | index_range () const |
| value_type * | data () |
| – Pass-through methods to STL vector ----------------------------------— | |
| StrongVector & | operator= (const StrongVector &x) |
| void | swap (StrongVector &x) noexcept |
| void | assign (size_type n, const value_type &val) |
| iterator | emplace (const_iterator pos, Args &&... args) |
| reference | emplace_back (Args &&... args) |
| iterator | insert (const_iterator pos, const value_type &x) |
| void | push_back (const value_type &val) |
| void | reserve (size_type n) |
| void | resize (size_type new_size) |
Additional Inherited Members | |
| Public Types inherited from util_intops::StrongVector< IntegerVariable, glop::ColIndex > | |
| typedef std::vector< glop::ColIndex, std::allocator< glop::ColIndex > > | ParentType |
| typedef ParentType::size_type | size_type |
| typedef ParentType::allocator_type | allocator_type |
| typedef ParentType::value_type | value_type |
| typedef ParentType::reference | reference |
| typedef ParentType::const_reference | const_reference |
| typedef ParentType::pointer | pointer |
| typedef ParentType::const_pointer | const_pointer |
| typedef ParentType::iterator | iterator |
| typedef ParentType::const_iterator | const_iterator |
| typedef ParentType::reverse_iterator | reverse_iterator |
| typedef ParentType::const_reverse_iterator | const_reverse_iterator |
|
default |