OR-Tools  9.3
glop_solver.cc File Reference

Go to the source code of this file.

Namespaces

namespace  operations_research
 Collection of objects used to extend the Constraint Solver library.
 
namespace  operations_research::math_opt
 

Functions

template<typename IndexType >
void UpdateIdIndexMap (glop::StrictITIVector< IndexType, bool > indices_to_delete, IndexType num_indices, absl::flat_hash_map< int64_t, IndexType > &id_index_map)
 
template<typename IndexType >
SparseDoubleVectorProto FillSparseDoubleVector (const std::vector< int64_t > &ids_in_order, const absl::flat_hash_map< int64_t, IndexType > &id_map, const glop::StrictITIVector< IndexType, glop::Fractional > &values, const SparseVectorFilterProto &filter)
 
template<typename ValueType >
BasisStatusProto FromGlopBasisStatus (const ValueType glop_basis_status)
 
template<typename IndexType , typename ValueType >
SparseBasisStatusVector FillSparseBasisStatusVector (const std::vector< int64_t > &ids_in_order, const absl::flat_hash_map< int64_t, IndexType > &id_map, const glop::StrictITIVector< IndexType, ValueType > &values)
 
template<typename ValueType >
ValueType ToGlopBasisStatus (const BasisStatusProto basis_status)
 
template<typename T >
std::vector< int64_t > GetSortedIs (const absl::flat_hash_map< int64_t, T > &id_map)
 
template<typename T >
glop::StrictITIVector< T, int64_t > IndexToId (const absl::flat_hash_map< int64_t, T > &id_map)