Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::bop::ConstraintBasedNeighborhood Class Referencefinal

#include <bop_lns.h>

Inheritance diagram for operations_research::bop::ConstraintBasedNeighborhood:
operations_research::bop::NeighborhoodGenerator

Public Member Functions

 ConstraintBasedNeighborhood (const BopConstraintTerms *objective_terms, absl::BitGenRef random)
 
 ~ConstraintBasedNeighborhood () final=default
 
- Public Member Functions inherited from operations_research::bop::NeighborhoodGenerator
 NeighborhoodGenerator ()=default
 
virtual ~NeighborhoodGenerator ()=default
 

Detailed Description

Generates a neighborhood by randomly selecting a subset of constraints and fixing the objective variables that are currently at their lower cost and not in the given subset of constraints.

Definition at line 140 of file bop_lns.h.

Constructor & Destructor Documentation

◆ ConstraintBasedNeighborhood()

operations_research::bop::ConstraintBasedNeighborhood::ConstraintBasedNeighborhood ( const BopConstraintTerms * objective_terms,
absl::BitGenRef random )
inline

Definition at line 142 of file bop_lns.h.

◆ ~ConstraintBasedNeighborhood()

operations_research::bop::ConstraintBasedNeighborhood::~ConstraintBasedNeighborhood ( )
finaldefault

The documentation for this class was generated from the following files: