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

Add cbs branching for compact table problems. #1

Open
wants to merge 1 commit into
base: upir
Choose a base branch
from

Conversation

CarolineSabourin-Jean
Copy link

No description provided.

@@ -147,6 +147,8 @@ namespace Gecode { namespace Int { namespace Branch {
// Lambda we pass to propagators via solndistrib to query solution densities
auto SendMarginal = [this](unsigned int prop_id, unsigned int var_id,
int val, double dens) {
if (!varIdToPos.isIn(var_id)) return;

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avez-vous trouvé pourquoi il y a des variables dans le propagateur qui ne se retrouvent pas dans le brancher? J'avais ajouté ce fix pour cette raison et je ne sais pas si c'est un comportement normal.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non on n'a pas trouvé, désolée :(

// We can change rho's value. Actually, there is no memory exception
// with rho = 1. But with other values of rho, there is a memory
// exception for some crossword problems.
float rho = 1;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gilles m'a dit qu'il y avait des fuites de mémoire avec rho < 1. Je vais regarder ça.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouais exact :(

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