-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify hyperparameters directly in generic LNS_CP
- put hyperparameters definition directly in LNS_CP: cp_solver, initial_solution_provider, constraint_handler, postprocess (with cls + kwargs each time), but with empty choices (depending on problem type) - update LNS_CP.__init__ to follow this logic - add in Hyperparametrizable a class method to copy and update the hyperparameters (to be used by child classes like LnsCpColoring to reuse hyperparameters defined by LNS_CP) - make LnsCpColoring and generic_rcpsp_tools lns wrapper derive from it and update __init__() and choices for hyperparameters (w/o redefining all hyperparameters) - add hyperparameters to ConstraintHandler's and InitialSolution's - use hyperparameters from build_xxx() functions for LargeNeighborhoodSearchScheduling, and thus - make ParamsConstraintBuilder parametrizable - add hyperparameters params_0 (_cls, _kwargs) and params_1 (_cls, _kwargs) to construct params_list from it in build_constraint_handler()
- Loading branch information
Showing
10 changed files
with
498 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.