<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body>
    Hi Natalia,<br>
    <br>
    have you checked the solution status of the LP by calling
    SCIPgetLPSolstat(scip)? What does the method return?<br>
    <br>
    Cheers,<br>
    Jakob <br>
    <br>
    <div class="moz-cite-prefix">On 21.04.2017 05:49, Natalia Perina
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJHeMXm8Yr3HARvsGsZEAd1S9pRT8kJf9_en+Eeg6o1TwKa9KQ@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                    href="mailto:nperina@princeton.edu" target="_blank">nperina@princeton.edu</a></div>
              </div>
              <div>202 360 9536 </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jakob Witzig

Zuse Institute Berlin (ZIB)

Division Mathematical Optimization and Scientific Information
Research Group Mathematical Optimization Methods

Takustrasse 7
14195 Berlin

Tel. : +49 (0)30 84185-416
Fax  : +49 (0)30 84185-269
email: <a class="moz-txt-link-abbreviated" href="mailto:witzig@zib.de">witzig@zib.de</a></pre>
  </body>
</html>