<div dir="ltr"><div><div><div><div>Hi All,<br><br></div>I'm sorry for asking again, but I'm not able to find the answer on the internet. I'm implementing a Branch-Cut-and-Price algorithm. The Constraint Handler creates rows and adds them using SCIPaddCut. Then, when a new variable is generated during column generation, it should be inserted in the rows created by the Constraint Handler. The problem is that I'm getting a segmentation fault when doing this. <br><br>What I'm doing is calling a "pricing" routine on the PRICERFARKAS and PRICERREDCOST methods. This pricing routing tries to adds to the row using the following piece of code:<br><br>SCIP_CALL(SCIPaddVarToRow(scip, row, var, coef));<br><br></div>I also already made sure that when creating the rows they are set to modifiable = true<br><br></div><div>Should I use some kind of "getTransformedRow" before calling the addVar?<br><br></div><div>The following is my code for SCIP_CONS, instead of SCIP_ROWS, and it works fine:<br><br>SCIP_CONS *transfCons;<br>SCIPgetTransformedCons(scip, cons, &transfCons);<br>SCIP_CALL(SCIPaddCoefLinear(scip, transfCons, var, coef));<br></div><div><br>Do anyone have some tips here? <br><br></div>Thanks,<br></div>Matheus<br></div>