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

#include <cp_model_lns.h>

Public Attributes

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

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 236 of file cp_model_lns.h.

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 241 of file cp_model_lns.h.

◆ x_interval

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

Definition at line 237 of file cp_model_lns.h.

◆ y_interval

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

Definition at line 238 of file cp_model_lns.h.


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