<div dir="ltr">Also, I have been struggling with this error, so I was hoping you can help me out there.<div>In my branching rule, I am creating two branches and two consdatas and therefore two constraints for each node. But, I am getting error while calling SCIPcreatecons(scip, con, name, consdata, conshdlr,...). The error is :</div><div>ERROR: can not create constraint of type conshdlr</div><div>ERROR <-8> in function call</div><div><br></div><div>I have checked that consdata is created and the conshdlr is found before calling this function. I dont know what else can cause this.</div><div>I would be thankful for your help.</div><div><br></div><div>Emily</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 25, 2015 at 12:49 PM, Aao Du <span dir="ltr"><<a href="mailto:aaoduu@gmail.com" target="_blank">aaoduu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I have just started using SCIP. I want to implement a B&P algorithm in C++. I am looking at the Bin Packing example as template. As I think I will need to have branching rule, pricer and a conshdlr as well. </div><div>I am, however, confused with some point and cant figure out how it works. I was hoping I can get help here.</div><div><br></div><div>First, I cant find where in the example the master problem is being solved, i.e. I dont see SCIPsolve(scip) anywhere in the code! I am totaly lost about it. I was expecting to use it as in the VRP example after creating scip and including pricer(and in this case branch rule and conshdlr).</div><div><br></div><div>Second, in the master problem, all the variables are given as binary(not continuous) and then we are trying to get the dual values of the master problem, isnt this wrong? I cant get how this works.</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Emily</div></div>
</blockquote></div><br></div>