<div dir="ltr"><div><div><div><div><div><div><div><div>Dear all,<br></div>I'm implementing a branch-and-price algorithm using C++ and SCIP, and I am facing a couple of difficulties:<br><br></div>1)
 most of the times, when I need to use Farkas pricing, my program stops 
and waits for some input, printing on the screen the string 
"<press>". I just give a letter as input and then it goes on with the computation, but I don't understand why it happens and how I can avoid it (and if it affects in any way the results).<br><br></div>2) I implemented a branching rule following the binpacking example, but I don't understand the role played by the function<br><br></div>addFixedVarsConss(SCIP* scip, SCIP* subscip, SCIP_VAR** vars, SCIP_CONS** conss, int nitems)<br><br></div>in file pricer_binpacking.c, as at each node I already fix to 0 the forbidden variables with the functions<br><br></div><div>checkVariable(SCIP* scip, SCIP_CONSDATA* consdata, SCIP_VAR* var, int nfixedvars, SCIP_Bool cutoff)<br><br></div><div>and<br><br></div><div>consdataFixVariables((SCIP* scip, SCIP_CONSDATA* consdata, SCIP_VAR** vars, int nvars, SCIP_RESULT* result)</div><div><br></div>in
 file cons_samediff.c and then my pricing problem is modified as to 
include informations on the forbidden columns, so that they will not be 
generated at that node and chid nodes. <br>So as far as now I didn't 
implement the function addFixedVarsConss() but, as I get a wrong 
solution to my problem, I'm thinking that maybe it has a different role 
and that I need to implement it. Is that correct?<br><br></div>Thank you very much for your help,<br><br></div>Veronica Dal Sasso</div>