<div dir="ltr"><div><div><div><div>Dear SCIP community,<br><br></div>I am implementing a heuristic algorithm who seeks to find a good (primal) solution of a given MILP. The algorithm actually starts by looking at reduced-cost value of variables after solving LP relaxation of the MILP.<br><br></div>I simply coded the LP and solved it. Then I used the method <span style="font-family:monospace,monospace">SCIPgetVarRedcost()</span> to see reduced-cost value of my original LP variables. However, I noticed that some of the values are negative, contradicting to optimality as the LP has minimization objective sense. Then I found that scip is not in the solving stage (SCIP_STAGE_SOLVING) as required by  <span style="font-family:monospace,monospace">SCIPgetVarRedcost()</span>... is that the why some reduced-costs get negative? if so, how can I access correct reduced cost values (according to optimal basis).<br><br></div>Bests,<br></div>Ahmad<br></div>