Definition at line 45 of file linear_constraint_storage.h.
#include <linear_constraint_storage.h>
|
| LinearConstraintId | Add (double lower_bound, double upper_bound, absl::string_view name) |
| double | lower_bound (LinearConstraintId id) const |
| double | upper_bound (LinearConstraintId id) const |
| const std::string & | name (LinearConstraintId id) const |
| template<typename DiffIter> |
| void | set_lower_bound (LinearConstraintId id, double lower_bound, const iterator_range< DiffIter > &diffs) |
| template<typename DiffIter> |
| void | set_upper_bound (LinearConstraintId id, double upper_bound, const iterator_range< DiffIter > &diffs) |
| template<typename DiffIter> |
| void | Delete (LinearConstraintId id, const iterator_range< DiffIter > &diffs) |
| int64_t | size () const |
| LinearConstraintId | next_id () const |
| void | ensure_next_id_at_least (LinearConstraintId minimum) |
| bool | contains (LinearConstraintId id) const |
| std::vector< LinearConstraintId > | LinearConstraints () const |
| std::vector< LinearConstraintId > | SortedLinearConstraints () const |
| template<typename DiffIter> |
| void | DeleteVariable (VariableId variable, const iterator_range< DiffIter > &diffs) |
| template<typename DiffIter> |
| void | set_term (LinearConstraintId constraint, VariableId variable, double value, const iterator_range< DiffIter > &diffs) |
| const SparseMatrix< LinearConstraintId, VariableId > & | matrix () const |
| std::pair< LinearConstraintsProto, SparseDoubleMatrixProto > | Proto () const |
| bool | diff_is_empty (const Diff &diff) const |
| UpdateResult | Update (const Diff &diff, const absl::flat_hash_set< VariableId > &deleted_variables, absl::Span< const VariableId > new_variables) const |
| void | AdvanceCheckpointInDiff (VariableId variable_checkpoint, Diff &diff) const |
◆ Add()
| LinearConstraintId operations_research::math_opt::LinearConstraintStorage::Add |
( |
double | lower_bound, |
|
|
double | upper_bound, |
|
|
absl::string_view | name ) |
◆ AdvanceCheckpointInDiff()
| void operations_research::math_opt::LinearConstraintStorage::AdvanceCheckpointInDiff |
( |
VariableId | variable_checkpoint, |
|
|
Diff & | diff ) const |
◆ contains()
| bool operations_research::math_opt::LinearConstraintStorage::contains |
( |
LinearConstraintId | id | ) |
const |
|
inline |
◆ Delete()
template<typename DiffIter>
◆ DeleteVariable()
template<typename DiffIter>
| void operations_research::math_opt::LinearConstraintStorage::DeleteVariable |
( |
VariableId | variable, |
|
|
const iterator_range< DiffIter > & | diffs ) |
◆ diff_is_empty()
| bool operations_research::math_opt::LinearConstraintStorage::diff_is_empty |
( |
const Diff & | diff | ) |
const |
|
inline |
◆ ensure_next_id_at_least()
| void operations_research::math_opt::LinearConstraintStorage::ensure_next_id_at_least |
( |
LinearConstraintId | minimum | ) |
|
|
inline |
◆ LinearConstraints()
| std::vector< LinearConstraintId > operations_research::math_opt::LinearConstraintStorage::LinearConstraints |
( |
| ) |
const |
◆ lower_bound()
| double operations_research::math_opt::LinearConstraintStorage::lower_bound |
( |
LinearConstraintId | id | ) |
const |
|
inline |
◆ matrix()
◆ name()
| const std::string & operations_research::math_opt::LinearConstraintStorage::name |
( |
LinearConstraintId | id | ) |
const |
|
inline |
◆ next_id()
| LinearConstraintId operations_research::math_opt::LinearConstraintStorage::next_id |
( |
| ) |
const |
|
inline |
◆ Proto()
◆ set_lower_bound()
template<typename DiffIter>
| void operations_research::math_opt::LinearConstraintStorage::set_lower_bound |
( |
LinearConstraintId | id, |
|
|
double | lower_bound, |
|
|
const iterator_range< DiffIter > & | diffs ) |
◆ set_term()
template<typename DiffIter>
◆ set_upper_bound()
template<typename DiffIter>
| void operations_research::math_opt::LinearConstraintStorage::set_upper_bound |
( |
LinearConstraintId | id, |
|
|
double | upper_bound, |
|
|
const iterator_range< DiffIter > & | diffs ) |
◆ size()
| int64_t operations_research::math_opt::LinearConstraintStorage::size |
( |
| ) |
const |
|
inline |
◆ SortedLinearConstraints()
| std::vector< LinearConstraintId > operations_research::math_opt::LinearConstraintStorage::SortedLinearConstraints |
( |
| ) |
const |
◆ Update()
◆ upper_bound()
| double operations_research::math_opt::LinearConstraintStorage::upper_bound |
( |
LinearConstraintId | id | ) |
const |
|
inline |
The documentation for this class was generated from the following files: