C++ Reference: class SimpleConstraintNeighborhoodGenerator

This documentation is automatically generated.

Pick a random subset of constraints and relax all the variables of these constraints. Note that to satisfy the difficulty, we might not relax all the variable of the "last" constraint.

Return type: Neighborhood

Arguments: const CpSolverResponse& initial_solution, double difficulty, absl::BitGenRef random


Return type: explicit

Arguments: NeighborhoodGeneratorHelper const* helper, const std::string& name