<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p>Dear SCIP Support Team,</p><p>I hope this email finds you well. I am reaching out regarding an issue I’ve encountered in my branch-and-price implementation in SCIP. My implementation is based on the bin packing project, and I have made minimal modifications as my problem structure is nearly identical to the original (see the attached PDF).<br><br>The issue arises in <b>pricing </b><strong>problem</strong>, some of my <i>Master Problem constraints</i> are <b>unexpectedly disabled after a few iterations</b>. This leads to their exclusion during the initialization of the pricing problem and affects its correctness (see the attached PDF).<br>To investigate, I added a printf in the <code>initPricing</code> method where it compute the dual variable of the master problem:<br><span class="gmail-hljs-keyword">for</span> (c = <span class="gmail-hljs-number">0</span>; c < n_edges; ++c)  
{<br>cons = conss[c];  assert(!<span class="gmail-hljs-built_in">strncmp</span>(SCIPconshdlrGetName(SCIPconsGetHdlr(cons)), <span class="gmail-hljs-string">"setppc"</span>, <span class="gmail-hljs-number">6</span>)); <br> <span class="gmail-hljs-keyword">if</span> (!SCIPconsIsEnabled(cons))  
   {<br>           <b><span class="gmail-hljs-built_in">printf</span>(<span class="gmail-hljs-string">"cons: %s was disabled\n"</span>, SCIPconsGetName(cons));</b><br>          <span class="gmail-hljs-keyword">continue</span>;  
   }<br>...</p><p>      /* dual value in original SCIP */</p><p>      dual = isfarkas ? SCIPgetDualfarkasSetppc(scip, cons) : SCIPgetDualsolSetppc(scip, cons);<br>...</p><p> }<br>Using this, I found that two of the master problem constraints are disabled and skipped during initialization. I have not modified the <code>cons_samediff</code> or <code>branchryanfoster</code> logic, assuming they would work as expected given the similarity to the bin packing problem.<br></p><p>Could you please help me identify the root cause of these constraints being disabled and suggest a resolution? Is it because of <code>cons_samediff</code>  or <code>branchryanfoster?</code></p><p>Thank you for your time and expertise.</p><p>Best regards,<br>Mahdi<br><br>PS:<br>I have also attached a abstraction of initPricing method implementation</p></div></div></div></div></div></div></div></div></div></div></div>