Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test TreeSearch #971

Closed
guimarqu opened this issue Jul 3, 2023 · 3 comments
Closed

Test TreeSearch #971

guimarqu opened this issue Jul 3, 2023 · 3 comments

Comments

@guimarqu
Copy link
Contributor

guimarqu commented Jul 3, 2023

No description provided.

@guimarqu
Copy link
Contributor Author

guimarqu commented Jul 19, 2023

1- About responsibilities to manage nodes of the tree search algorithm (done in #994)

  • explore has the responsibility to stop the exploration when there is no untreated nodes leaving.

  • TreeSearch.stop (meta condition) checks only "meta" conditions (stop the algorithm when the number of nodes explodes).

  • The divide algorithm creates the nodes.

  • Implementation of the ColunaSearchSpace interface has the responsibility to not call Divide if the node is pruned.

2 - About the conquer output

The conquer algorithm must return the following statuses:

  • infeasible
  • optimal if the subproblem at the node has been "fully" optimized
  • other limit, otherwise

3 - Leaves data (done in #995)

To determine the result status of the branch and bound algorithm, we'll need to store the following data for all leaves:

  • status (infeasible, optimal, other limit)
  • local dual bound

4- Global dual bound (done in #997)

min(local dual bound of leaves, local dual bound of parent of untreated nodes)

5- Tree search output (done in #997)

When the exploration has finished, tree search output checks whether we found the optimal solution, the problem is infeasible or a limit has been reached.

  • infeasible: all leaves infeasible [extra optional check : length(ip_primal_sols) == 0 (to make sure there is no bug in the children generation) - show warning if false]
  • optimal : gap closed [extra optional check: length(ip_primal_sols) > 0 - show warning if false]
  • other limit; otherwise

@guimarqu
Copy link
Contributor Author

guimarqu commented Jul 19, 2023

ping @najaverzat

@guimarqu
Copy link
Contributor Author

I feel like this issue is now completed by all the work done during the last two weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant