OR-Tools  9.3
model_update_merge.h 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
 
namespace  operations_research::math_opt::internal
 

Functions

void MergeIntoUpdate (const ModelUpdateProto &from_new, ModelUpdateProto &into_old)
 
void RemoveDeletedIds (google::protobuf::RepeatedField< int64_t > &ids, const google::protobuf::RepeatedField< int64_t > &deleted)
 
void MergeIntoSortedIds (const google::protobuf::RepeatedField< int64_t > &from_new, google::protobuf::RepeatedField< int64_t > &into_old, const google::protobuf::RepeatedField< int64_t > &deleted)
 
template<typename SparseVector >
void MergeIntoSparseVector (const SparseVector &from_new, SparseVector &into_old, const google::protobuf::RepeatedField< int64_t > &deleted)
 
void MergeIntoSparseDoubleMatrix (const SparseDoubleMatrixProto &from_new, SparseDoubleMatrixProto &into_old, const google::protobuf::RepeatedField< int64_t > &deleted_rows, const google::protobuf::RepeatedField< int64_t > &deleted_columns)
 
template<typename RepeatedField , typename SparseVector >
void UpdateNewElementProperty (const google::protobuf::RepeatedField< int64_t > &ids, RepeatedField &values, const google::protobuf::RepeatedField< int64_t > &deleted, const SparseVector &updates)