Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
scheduling_helpers.h File Reference
#include <algorithm>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/log/check.h"
#include "absl/types/span.h"
#include "ortools/sat/implied_bounds.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/sat/linear_constraint.h"
#include "ortools/sat/model.h"
#include "ortools/sat/precedences.h"
#include "ortools/sat/sat_base.h"
#include "ortools/sat/sat_solver.h"
#include "ortools/util/bitset.h"
#include "ortools/util/strong_integers.h"

Go to the source code of this file.

Classes

struct  operations_research::sat::TaskTime
 
struct  operations_research::sat::CachedTaskBounds
 
struct  operations_research::sat::IntervalDefinition
 
class  operations_research::sat::SchedulingConstraintHelper
 
struct  operations_research::sat::SchedulingConstraintHelper::ProfileEvent
 
class  operations_research::sat::SchedulingDemandHelper
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::sat
 

Enumerations

enum  operations_research::sat::IntegerVariablesToAddMask { operations_research::sat::kStart = 1 << 0 , operations_research::sat::kEnd = 1 << 1 , operations_research::sat::kSize = 1 << 2 , operations_research::sat::kPresence = 1 << 3 }
 Cuts helpers. More...
 

Functions

IntegerValue operations_research::sat::ComputeEnergyMinInWindow (IntegerValue start_min, IntegerValue start_max, IntegerValue end_min, IntegerValue end_max, IntegerValue size_min, IntegerValue demand_min, absl::Span< const LiteralValueValue > filtered_energy, IntegerValue window_start, IntegerValue window_end)
 
void operations_research::sat::AddIntegerVariableFromIntervals (const SchedulingConstraintHelper *helper, Model *model, std::vector< IntegerVariable > *vars, int mask)
 
void operations_research::sat::AppendVariablesFromCapacityAndDemands (const AffineExpression &capacity, SchedulingDemandHelper *demands_helper, Model *model, std::vector< IntegerVariable > *vars)