chocoteam / chocoteam/choco-solver

[proposal] Heuristic interface to light parrallel solve call

Open
#434 2 comments 0 reactions 1 assignee Claimed by @cprudhom View on GitHub
feature
Dominant language
Java
Stars
779
Forks
159
Avg merge
6d 9h
Merged PRs (30d)
10

Description

The goal is to
- reduce the code required to make parallel search
- objectify the Strategy management, thus giving more visibility on the creation of strategies.

My proposal :
- a functional interface Heuristic, basically a Function> generating an AbstractStrategy from a Model.
- a new method in IResolutionHelper, namely Solution findOptimalParallel(IntVar objective, boolean maximize, Function modelDuplicator, Criterion stop, Heuristic... heuristics). This method creates a portfolio, iterate over the heuristics, uses the duplicator to duplicate the objective's model past first heuristic, configure this model with corresponding heuristics, then launches the search.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.