<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear SCIP Community,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am working on a column generation algorithm with a substantial amount of constraints (say in the order of 1 million). Actually, those constraints are often redundant until the right columns are generated. So my aim is to include those constraints gradually, that is, I generate a new column (and I already take into account the duals of the not yet included constraints) and while adding that column I want to create a new constraint. <br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Of course, I can call the SCIPcreateConsLinear() method and create a constraint there, however, I am wondering if a different approach would be possible. Namely, I create all the constraints before I start solving the model by calling the SCIPcreateConsLinear() and the SCIPaddCons() methods. I make sure to put the initial flag, enforce, and check flags to zero while creating the constraints.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I indeed see, that the number of rows is 'small' (let's say in the order of 100's), while the number of cons is indeed very large (let's say in the order of 100,000's). This seems correct, as I don't want to bother about all the (at this moment) redundant constraints.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Then, when I generate a new column I want to set the enforce and check flags equal to true for the constraints that should be included, i.e., constraints that are not redundant anymore. However, I see that there is some delay in the activation of the constraints, i.e., it takes several pricing rounds before the number of 'rows' increase.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">My question is, is there an elegant way to directly enforce constraints from within the pricer 'callback' ? And related, when  I use the SCIPsetConsEnforced() or SCIPsetConsChecked() methods from within a pricing loop, when are the changes incorporated within SCIP? Or is the best way to simply create the constraints when I need them?<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Albert<br></div></div><div dir="ltr"><br></div><div dir="ltr">-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-size:10pt;letter-spacing:normal;line-height:12pt;margin-bottom:0px;margin-top:0px"><p class="MsoNormal"><span style="color:rgb(102,102,102)">Albert Schrotenboer</span></p><p class="MsoNormal"><span style="color:rgb(102,102,102)">Ph.D. Candidate</span></p><p class="MsoNormal"><span style="color:rgb(102,102,102)">Faculty of Economics and Business</span></p><p class="MsoNormal"><span style="color:rgb(102,102,102)"></span><font color="rgb(34, 34, 34)"><span style="color:rgb(102,102,102)">University of Groningen</span></font><font color="rgb(34, 34, 34)"><span style="color:rgb(102,102,102)"><br></span></font></p><p class="MsoNormal"><font color="rgb(34, 34, 34)"><span style="color:rgb(102,102,102)">P.O. Box 800, 9700 AV Groningen</span> </font></p></div></div></div></div></div></div></div></div></div></div></div></div></div>