Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <type_traits>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/container/flat_hash_map.h"
#include "absl/status/status.h"
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "ortools/math_opt/storage/model_storage.h"
Go to the source code of this file.
Namespaces | |
namespace | operations_research |
In SWIG mode, we don't want anything besides these top-level includes. | |
namespace | operations_research::math_opt |
An object oriented wrapper for quadratic constraints in ModelStorage. | |
namespace | operations_research::math_opt::internal |
Functions | |
template<typename Map , typename = std::enable_if_t<is_key_type_v<typename Map::key_type>>> | |
std::vector< typename Map::key_type > | operations_research::math_opt::SortedKeys (const Map &map) |
template<typename Set , typename = std::enable_if_t<is_key_type_v<typename Set::key_type>>> | |
std::vector< typename Set::key_type > | operations_research::math_opt::SortedElements (const Set &set) |
template<typename Map , typename Keys , typename = std::enable_if_t<is_key_type_v<typename Map::key_type>>> | |
std::vector< typename Map::mapped_type > | operations_research::math_opt::Values (const Map &map, const Keys &keys) |
absl::Status | operations_research::math_opt::internal::CheckModelStorage (const ModelStorage *const storage, const ModelStorage *const expected_storage) |
Variables | |
template<typename T > | |
constexpr bool | operations_research::math_opt::is_key_type_v |
constexpr absl::string_view | operations_research::math_opt::internal::kKeyHasNullModelStorage |
The CHECK message to use when a KeyType::storage() is nullptr. | |
constexpr absl::string_view | operations_research::math_opt::internal::kObjectsFromOtherModelStorage |
constexpr absl::string_view | operations_research::math_opt::internal::kInputFromInvalidModelStorage |