OR-Tools
9.6
model_storage_types.h
Go to the documentation of this file.
1
// Copyright 2010-2022 Google LLC
2
// Licensed under the Apache License, Version 2.0 (the "License");
3
// you may not use this file except in compliance with the License.
4
// You may obtain a copy of the License at
5
//
6
// http://www.apache.org/licenses/LICENSE-2.0
7
//
8
// Unless required by applicable law or agreed to in writing, software
9
// distributed under the License is distributed on an "AS IS" BASIS,
10
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
// See the License for the specific language governing permissions and
12
// limitations under the License.
13
14
// IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h"
15
// IWYU pragma: friend "ortools/math_opt/cpp/.*"
16
17
#ifndef OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_
18
#define OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_
19
20
#include <cstdint>
21
22
#include "absl/strings/string_view.h"
23
#include "
ortools/base/strong_int.h
"
24
25
namespace
operations_research::math_opt
{
26
27
DEFINE_STRONG_INT_TYPE
(VariableId, int64_t);
28
DEFINE_STRONG_INT_TYPE
(LinearConstraintId, int64_t);
29
DEFINE_STRONG_INT_TYPE
(QuadraticConstraintId, int64_t);
30
DEFINE_STRONG_INT_TYPE
(Sos1ConstraintId, int64_t);
31
DEFINE_STRONG_INT_TYPE
(Sos2ConstraintId, int64_t);
32
DEFINE_STRONG_INT_TYPE
(IndicatorConstraintId, int64_t);
33
DEFINE_STRONG_INT_TYPE
(UpdateTrackerId, int64_t);
34
35
}
// namespace operations_research::math_opt
36
37
#endif
// OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_
operations_research::math_opt
Definition:
indicator_constraint.cc:26
operations_research::math_opt::DEFINE_STRONG_INT_TYPE
DEFINE_STRONG_INT_TYPE(VariableId, int64_t)
strong_int.h
ortools
math_opt
storage
model_storage_types.h
Generated by
1.9.1