<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi again, <br>
      <br>
      It just worked!<br>
      <br>
      I made the bictriteria example (the one in the example file) and
      called a single objective problem. With the setObj2Coeff method
      the solver now solved a bicriteria model. <br>
      <br>
      Is there a way to define the second objective in the model file as
      well? <br>
      <br>
      Cheers, <br>
      <br>
      Anton<br>
      <br>
      On 24.09.2012 10:07, Anton Becker wrote:<br>
    </div>
    <blockquote cite="mid:506014B5.30200@me.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi Ted, <br>
        <br>
        thanks for your quick reply. This is what I get for typing
        "bin/symphony -F SYMPHONY/Datasets/sample1.mod -D
        SYMPHONY/Datasets/sample1.dat" (I just defined a second
        objective in the sample.mod for testing)<br>
        <br>
----------------------------------------------------------------------------------------<br>
        Reading input file...<br>
        <br>
        Reading model section from SYMPHONY/Datasets/sample1.mod...<br>
        33 lines were read<br>
        Reading data section from SYMPHONY/Datasets/sample1.dat...<br>
        68 lines were read<br>
        Generating nb...<br>
        Generating cost...<br>
        Generating etwas...<br>
        Model has been successfully generated<br>
        <br>
        Error due to having more than one objective function!<br>
        SYMPHONY can solve problems with just one objective function<br>
        <br>
        Errors in reading gmpl file<br>
        <br>
        Fatal errors encountered. Exiting with code -120.<br>
        See sym_return_values.h for meaning of code.<br>
------------------------------------------------------------------------------------------<br>
        <br>
        How do I set something through the API? You mean I "load" the
        problem I want to solve (with two objective functions) through
        SYMPHONY first and then how do I set the second objective? <br>
        <br>
        Cheers and best regards, <br>
        <br>
        Anton<br>
        <br>
        On 24.09.2012 04:11, Ted Ralphs wrote:<br>
      </div>
      <blockquote
cite="mid:CA+GYycvqF-gs4scz5tgsMtP1Eb4Sr+fYKHfP69X=PiHB09kqgg@mail.gmail.com"
        type="cite">Hi Anton,<br>
        <br>
        SYMPHONY can solve biobjective MILPs, but it's possible that the
        interface to GLPK is not capable of dealing with multiple
        objectives. If nothing else, you can set the second objective
        through the API once the problem is read in. If you can provide
        some more details of exactly when the error comes up and exactly
        what it says, I'll try to see if it's an easy fix.<br>
        <br>
        Ted<br>
        <br>
        <div class="gmail_quote">On Sun, Sep 23, 2012 at 4:43 PM, Anton
          Becker <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:antonbecker@me.com" target="_blank">antonbecker@me.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi again,<br>
            <br>
            I now managed to read GMPL files.<br>
            <br>
            I now encountered another problem:<br>
            <br>
            1. Start symphony, works<br>
            2. load problem, works only with single criteria problems!
            Why can I not read in a biobjective, linear model?! I
            thought this is a feature of SYMPHONY.<br>
            <br>
            Message is something like "Symphony can only read in single
            objective functions".<br>
            <br>
            Any ideas?<br>
            <br>
            Best regards,<br>
            <br>
            Anton<br>
            <br>
            <br>
            Am Sep 22, 2012 um 12:10 PM schrieb Anton Becker:<br>
            <div class="HOEnZb">
              <div class="h5"><br>
                &gt; Dear everybody,<br>
                &gt;<br>
                &gt; I have a problem reading GMPL files with SYMPHONY
                under Ubuntu 12.04.<br>
                &gt;<br>
                &gt; 1. Installed Symphony via SVN - works.<br>
                &gt;<br>
                &gt; 2. Installed Glpk via get.Glpk - works.<br>
                &gt;<br>
                &gt; 3. ./configure --with-GMPL --with-glpk-lib
                --with-glpk-incdir --with-glpk-datadir - works.<br>
                &gt;<br>
                &gt; 4. make: Does not work. The compiler misses a file
                called amd.h. I found this file and copied it into the
                folder the compiler searched for it. (Something like
                Glp/src)<br>
                &gt;<br>
                &gt; After doing this he gave me another error, I don't
                remember exactly what file he was missing then but I
                worked around this error as well. This went on for
                hours.<br>
                &gt;<br>
                &gt; Did I do anything wrong? I always get new errors.<br>
                &gt;<br>
                &gt; In the manual there are just a few steps and it all
                looks very, very easy.<br>
                &gt;<br>
                &gt; Any idea? I think there is something wrong with my
                installation in the firs place, but I really did it step
                by step according to the manual.<br>
                &gt;<br>
                &gt; It's really important for me to get this working..<br>
                &gt;<br>
                &gt; Best regards,<br>
                &gt;<br>
                &gt; Anton<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                <br>
                _______________________________________________<br>
                Symphony mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a><br>
                <a moz-do-not-send="true"
                  href="http://list.coin-or.org/mailman/listinfo/symphony"
                  target="_blank">http://list.coin-or.org/mailman/listinfo/symphony</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Dr. Ted Ralphs<br>
        Associate Professor, Lehigh University<br>
        (610) 628-1280<br>
        ted 'at' lehigh 'dot' edu<br>
        <a moz-do-not-send="true"
          href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Symphony mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/symphony">http://list.coin-or.org/mailman/listinfo/symphony</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>