Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::ModelLpValues Struct Reference

#include <linear_constraint_manager.h>

Inheritance diagram for operations_research::sat::ModelLpValues:
absl::StrongVector< IntegerVariable, double >

Public Member Functions

 ModelLpValues ()=default
 
- Public Member Functions inherited from absl::StrongVector< IntegerVariable, double >
 StrongVector ()
 
 StrongVector (const allocator_type &a)
 
 StrongVector (size_type n)
 
 StrongVector (IntegerVariable n)
 
 StrongVector (size_type n, const value_type &v, const allocator_type &a=allocator_type())
 
 StrongVector (std::initializer_list< value_type > il)
 
 StrongVector (InputIteratorType first, InputIteratorType last, const allocator_type &a=allocator_type())
 
const ParentTypeget () const
 
ParentTypemutable_get ()
 
reference operator[] (IndexType i)
 – Modified methods ----------------------------------------------------—
 
const_reference operator[] (IndexType i) const
 
reference at (IndexType i)
 
const_reference at (IndexType i) const
 
void assign (size_type n, const value_type &val)
 – Pass-through methods to STL vector ----------------------------------—
 
void assign (InputIt f, InputIt l)
 
void assign (std::initializer_list< value_type > ilist)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
size_type size () const
 
size_type max_size () const
 
void resize (size_type new_size)
 
void resize (size_type new_size, const value_type &x)
 
void resize (IntegerVariable new_size)
 
void resize (IntegerVariable new_size, const value_type &x)
 
size_type capacity () const
 
bool empty () const
 
void reserve (size_type n)
 
void reserve (IntegerVariable n)
 
void push_back (const value_type &x)
 
void push_back (value_type &&x)
 
void emplace_back (Args &&... args)
 
iterator emplace (const_iterator pos, Args &&... args)
 
void pop_back ()
 
void swap (StrongVector &x)
 
void clear ()
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
pointer data ()
 
const_pointer data () const
 
iterator erase (const_iterator pos)
 
iterator erase (const_iterator first, const_iterator last)
 
iterator insert (const_iterator pos, const value_type &x)
 
iterator insert (const_iterator pos, value_type &&x)
 
iterator insert (const_iterator pos, size_type n, const value_type &x)
 
iterator insert (const_iterator pos, IIt first, IIt last)
 
iterator insert (const_iterator pos, std::initializer_list< value_type > ilist)
 

Additional Inherited Members

- Public Types inherited from absl::StrongVector< IntegerVariable, double >
typedef IntegerVariable IndexType
 
typedef std::vector< double, std::allocator< double > > ParentType
 
typedef ParentType::size_type size_type
 
typedef ParentType::allocator_type allocator_type
 
typedef ParentType::value_type value_type
 
typedef ParentType::difference_type difference_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
 

Detailed Description

Stores for each IntegerVariable its temporary LP solution.

This is shared between all LinearProgrammingConstraint because in the corner case where we have many different LinearProgrammingConstraint and a lot of variable, we could theoretically use up a quadratic amount of memory otherwise.

Definition at line 50 of file linear_constraint_manager.h.

Constructor & Destructor Documentation

◆ ModelLpValues()

operations_research::sat::ModelLpValues::ModelLpValues ( )
default

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