<div dir="ltr">Hi there, <div><br></div><div>I am trying to multiply the result that I get from 







<p class="gmail-p1"><span class="gmail-s1">double x = SCIPgetDualsolLinear(scip, z_con(r)) or </span></p><p class="gmail-p1">SCIP_Real x = SCIPgetDualsolLinear(scip, z_con(r))</p><p class="gmail-p1"><span class="gmail-s1">by -1 and add it it to an objective function. I understand that the best way to do this would be to set a fixed variable to one and set the value as the coefficient. But when everytime i mulitply by -1, I get an absurdly large number that is not the actual value. I am very confused as to why this is happening, seems that it should be simple.</span></p><p class="gmail-p1"><span class="gmail-s1">Thanks, </span></p><p class="gmail-p1"><span class="gmail-s1">Natalia </span></p><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Natalia Perina</div><div><div>Princeton University<font color="#999999"> l </font>2017</div><div><a href="mailto:nperina@princeton.edu" target="_blank">nperina@princeton.edu</a></div></div><div>202 360 9536 </div></div></div>
</div></div>