<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Empty problem warning is fine - just
      means clp could solve problem without doing the lp.<br>
      <br>
      It looked at the model and saw that the optimal solution had to be
      to set variables to zero - so fixed all variables and deleted all
      rows.<br>
      <br>
      So<br>
      <br>
      clp opt_prod_mix.mps -solve -solution $<br>
      <br>
      $ will just print solutio, x.sol will write solution to x.sol<br>
      <br>
      John Forrest<br>
      On 16/01/15 07:01, haris iqbal wrote:<br>
    </div>
    <blockquote
cite="mid:CAE_WKMyVdWGfZrC0FD3rNzXgrktcOyRc9OApn9Rjp0r07KwMZA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_quote">---------- Forwarded message ----------<br>
          From: <b class="gmail_sendername">haris iqbal</b> <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:haris.phnx@gmail.com">haris.phnx@gmail.com</a>&gt;</span><br>
          Date: Fri, Jan 16, 2015 at 12:31 PM<br>
          Subject: Re: [Clp] problem with coin-or lp solver library<br>
          To: Babak Moazzez &lt;<a moz-do-not-send="true"
            href="mailto:bmoazzez@ucdavis.edu">bmoazzez@ucdavis.edu</a>&gt;,
          <a moz-do-not-send="true" href="mailto:deinst@gmail.com">deinst@gmail.com</a><br>
          <br>
          <br>
          <div dir="ltr">
            <div>
              <div>what i am doing is solving a 2 variable lp problem by
                writing a .mps file and then running it through the
                terminal by<br>
                <br>
              </div>
              clp filename.mps<br>
              <br>
            </div>
            i am attaching the .mps file also.. this problem gives the
            correct answer using other tool but gives an empty problem
            warning using clp.<br>
          </div>
          <div class="HOEnZb">
            <div class="h5">
              <div class="gmail_extra"><br>
                <div class="gmail_quote">On Fri, Jan 16, 2015 at 6:54
                  AM, Babak Moazzez <span dir="ltr">&lt;<a
                      moz-do-not-send="true"
                      href="mailto:bmoazzez@ucdavis.edu" target="_blank">bmoazzez@ucdavis.edu</a>&gt;</span>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <p dir="ltr">If you are using clp api, use the
                      command</p>
                    <p dir="ltr">solu results.txt</p>
                    <p dir="ltr">Clp will write the solution to a text
                      file named results.txt</p>
                    <div class="gmail_quote">
                      <div>
                        <div>On Jan 15, 2015 6:05 AM, "haris iqbal" &lt;<a
                            moz-do-not-send="true"
                            href="mailto:haris.phnx@gmail.com"
                            target="_blank">haris.phnx@gmail.com</a>&gt;
                          wrote:<br type="attribution">
                        </div>
                      </div>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        <div>
                          <div>
                            <div dir="ltr">
                              <div>
                                <div>
                                  <div>Hello,<br>
                                  </div>
                                  I am trying to solve some lp problems
                                  using the clp library. But i am facing
                                  some problems.<br>
                                  <br>
                                </div>
                                1) The optimal solution that i am
                                getting is just the value.. is there a
                                way to get the value of the co-ordinates
                                also (value of the variables for that
                                optimal solution)..?<br>
                                <br>
                              </div>
                              2) The problems gives the empty problem
                              warning for some valid solution.. those
                              problem i have checked using some other lp
                              problem solver, and they were all valid..<br>
                            </div>
                            <br>
                          </div>
                        </div>
                        <span>_______________________________________________<br>
                          Clp mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Clp@list.coin-or.org"
                            target="_blank">Clp@list.coin-or.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://list.coin-or.org/mailman/listinfo/clp"
                            target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
                          <br>
                        </span></blockquote>
                    </div>
                  </blockquote>
                </div>
                <br>
              </div>
            </div>
          </div>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Clp mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>