<div dir="ltr">Hi there, <div><br></div><div>I am trying to debug my code and print the solution values of integer variables. </div><div><br></div><div>I am using this line: </div><div><br></div><div>SCIPdebugMsg(scip, "actual val=%d \n", SCIPgetSolVal(subscip, sol, x_var[w][d]));</div><div><br></div><div>x_var is of the type SCIP_VARTYPE_BINARY </div><div><br></div><div>the problem is that when i print it, it is giving me weird values , i.e. it is printing "-0.0000" , so giving me a negative zero? I can't tell if this is because of the formatting or some other error? </div><div><br></div><div>Thanks, </div><div>Natalia </div><div><br clear="all"><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>