[Scip] including a solution found by an heuristic

Alessia Violin aviolin at ulb.ac.be
Tue Jun 18 16:59:12 MEST 2013


Hello,

I am trying to implement a simple heuristic into my branch-and-price, 
and I am having some troubles when adding the new solution found with 
the function SCIPtrySolFree(scip, &sol, TRUE, TRUE, TRUE, TRUE, &success).

The "success" parameter after this call is always false, even if I don't 
get any violation of constraints/bounds etc printed out. I also manually 
checked the solution found by the heuristic, and it's feasible, not 
violating the branching constraints in the current node, and better that 
the current primal bound. So I don't know where/what to search more to 
avoid this and to make scip using this new solution...

If needed I can of course provide more details on my implementation.

Thanks in advance for any help,

best,

Alessia

-- 
Alessia Violin
Service Graphes et Optimisation Mathématique (G.O.M.)
Université Libre de Bruxelles
C.P. 210/01
Boulevard du Triomphe
B-1050 BRUXELLES
Tel: 02 650 58 80 - Fax: 02 650 59 70
Email: aviolin at ulb.ac.be
Webpage: http://homepages.ulb.ac.be/~aviolin/



More information about the Scip mailing list