Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::PermutableEvent Struct Reference

#include <scheduling_cuts.h>

Public Member Functions

 PermutableEvent (int i, CtEvent e)
 
bool operator< (const PermutableEvent &o) const
 

Public Attributes

int index
 
IntegerValue start_min
 
IntegerValue start_max
 
IntegerValue size
 
IntegerValue demand
 
IntegerValue weight
 

Detailed Description

Computes the minimum sum of the end min and the minimum sum of the end min weighted by weight of all events. It returns false if no permutation is valid w.r.t. the range of starts.

Note
this is an exhaustive algorithm, so the number of events should be small, like <= 10. They should also starts in index order.

Optim: If both sums are proven <= to the corresponding threshold, we abort.

Definition at line 158 of file scheduling_cuts.h.

Constructor & Destructor Documentation

◆ PermutableEvent()

operations_research::sat::PermutableEvent::PermutableEvent ( int i,
CtEvent e )
inline

Definition at line 159 of file scheduling_cuts.h.

Member Function Documentation

◆ operator<()

bool operations_research::sat::PermutableEvent::operator< ( const PermutableEvent & o) const
inline

Definition at line 167 of file scheduling_cuts.h.

Member Data Documentation

◆ demand

IntegerValue operations_research::sat::PermutableEvent::demand

Definition at line 173 of file scheduling_cuts.h.

◆ index

int operations_research::sat::PermutableEvent::index

Definition at line 169 of file scheduling_cuts.h.

◆ size

IntegerValue operations_research::sat::PermutableEvent::size

Definition at line 172 of file scheduling_cuts.h.

◆ start_max

IntegerValue operations_research::sat::PermutableEvent::start_max

Definition at line 171 of file scheduling_cuts.h.

◆ start_min

IntegerValue operations_research::sat::PermutableEvent::start_min

Definition at line 170 of file scheduling_cuts.h.

◆ weight

IntegerValue operations_research::sat::PermutableEvent::weight

Definition at line 174 of file scheduling_cuts.h.


The documentation for this struct was generated from the following file: