Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
resource.cc File Reference
#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.
 

Variable Documentation

◆ argmax_energetic_end_min_opt

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.

◆ argmax_energy_opt

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.

◆ delta

int64_t delta

Definition at line 1709 of file resource.cc.

◆ demand

IntVar* const demand

Definition at line 126 of file resource.cc.

◆ energetic_end_min

int64_t energetic_end_min

Max_{subset S of Theta} (capacity * start_min(S) + energy(S))

Definition at line 358 of file resource.cc.

◆ energetic_end_min_opt

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.

◆ energy

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.

◆ energy_opt

int64_t energy_opt

Max_{i in Lambda} (energy(Theta union {i}))

Definition at line 361 of file resource.cc.

◆ index

int index

Definition at line 102 of file resource.cc.

◆ interval

IntervalVar* const interval

Definition at line 101 of file resource.cc.

◆ kNone

const int kNone
static

Special value for task indices meaning 'no such task'.

Definition at line 236 of file resource.cc.

◆ kNotAvailable

const int64_t kNotAvailable
static

Definition at line 1311 of file resource.cc.

◆ kNotInitialized

const int64_t kNotInitialized
static

Definition at line 1261 of file resource.cc.

◆ residual_energetic_end_min

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.

◆ time

int64_t time

Definition at line 1708 of file resource.cc.

◆ total_ect

int64_t total_ect

Definition at line 201 of file resource.cc.

◆ total_processing

int64_t total_processing

Definition at line 200 of file resource.cc.