<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 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"><<a moz-do-not-send="true"
href="mailto:antonbecker@me.com" target="_blank">antonbecker@me.com</a>></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>
> Dear everybody,<br>
><br>
> I have a problem reading GMPL files with SYMPHONY
under Ubuntu 12.04.<br>
><br>
> 1. Installed Symphony via SVN - works.<br>
><br>
> 2. Installed Glpk via get.Glpk - works.<br>
><br>
> 3. ./configure --with-GMPL --with-glpk-lib
--with-glpk-incdir --with-glpk-datadir - works.<br>
><br>
> 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>
><br>
> 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>
><br>
> Did I do anything wrong? I always get new errors.<br>
><br>
> In the manual there are just a few steps and it all
looks very, very easy.<br>
><br>
> 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>
><br>
> It's really important for me to get this working..<br>
><br>
> Best regards,<br>
><br>
> Anton<br>
><br>
><br>
><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>
</body>
</html>