Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <algorithm>
#include <cstdint>
#include <functional>
#include <limits>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
#include "ortools/base/commandlineflags.h"
#include "ortools/base/logging.h"
#include "ortools/base/mathutil.h"
#include "ortools/base/stl_util.h"
#include "ortools/base/types.h"
#include "ortools/constraint_solver/constraint_solver.h"
#include "ortools/constraint_solver/constraint_solveri.h"
#include "ortools/util/bitset.h"
#include "ortools/util/monoid_operation_tree.h"
#include "ortools/util/saturated_arithmetic.h"
#include "ortools/util/string_array.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. | |
int argmax_energetic_end_min_opt |
The argmax in energetic_end_min_opt_. It is the index of the chosen task in the Lambda set, if any, or kNone if none.
Definition at line 373 of file resource.cc.
int argmax_energy_opt |
The argmax in energy_opt_. It is the index of the chosen task in the Lambda set, if any, or kNone if none.
Definition at line 365 of file resource.cc.
int64_t delta |
Definition at line 1709 of file resource.cc.
IntVar* const demand |
Definition at line 126 of file resource.cc.
int64_t energetic_end_min |
Max_{subset S of Theta} (capacity * start_min(S) + energy(S))
Definition at line 358 of file resource.cc.
int64_t energetic_end_min_opt |
Max_{subset S of Theta, i in Lambda} (capacity * start_min(S union {i}) + energy(S union {i}))
Definition at line 369 of file resource.cc.
int64_t energy |
Amount of resource consumed by the Theta set, in units of demand X time. This is energy(Theta).
Definition at line 355 of file resource.cc.
int64_t energy_opt |
Max_{i in Lambda} (energy(Theta union {i}))
Definition at line 361 of file resource.cc.
int index |
Definition at line 102 of file resource.cc.
IntervalVar* const interval |
Definition at line 101 of file resource.cc.
|
static |
Special value for task indices meaning 'no such task'.
Definition at line 236 of file resource.cc.
|
static |
Definition at line 1311 of file resource.cc.
|
static |
Definition at line 1261 of file resource.cc.
int64_t residual_energetic_end_min |
Max_{subset S of Theta} (residual_capacity * start_min(S) + energy(S))
Definition at line 1252 of file resource.cc.
int64_t time |
Definition at line 1708 of file resource.cc.
int64_t total_ect |
Definition at line 201 of file resource.cc.
int64_t total_processing |
Definition at line 200 of file resource.cc.