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

Detailed Description

Returns the list of active rectangles appearing in no_overlap_2d constraints according to the initial_solution and the parameter lns_focus_on_performed_intervals. If true, this method returns the list of performed rectangles in the solution. If false, it returns all rectangles of the model.

Definition at line 245 of file cp_model_lns.h.

#include <cp_model_lns.h>

Public Attributes

int x_interval
int y_interval
absl::flat_hash_set< int > no_overlap_2d_constraints

Member Data Documentation

◆ no_overlap_2d_constraints

absl::flat_hash_set<int> operations_research::sat::NeighborhoodGeneratorHelper::ActiveRectangle::no_overlap_2d_constraints

The set of no_overlap_2d constraints that both x_interval and y_interval are participating in.

Definition at line 250 of file cp_model_lns.h.

◆ x_interval

int operations_research::sat::NeighborhoodGeneratorHelper::ActiveRectangle::x_interval

Definition at line 246 of file cp_model_lns.h.

◆ y_interval

int operations_research::sat::NeighborhoodGeneratorHelper::ActiveRectangle::y_interval

Definition at line 247 of file cp_model_lns.h.


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