[Coin-discuss] AIX Ampl->nl->Linux->cbc->sol->AIX Ampl not working
John J Forrest
jjforre at us.ibm.com
Fri Sep 22 16:05:59 EDT 2006
Derek,
Thanks for sending me the example which caused a segmentation fault..
The problem was to do with one of the status arrays. For integer problems
these are not used by Cbc/Ampl but Ampl still remembered them and tried to
read the array in writesol. I don't know enough about Ampl to tell it not
to look at these arrays so I have changed the code to leave the arrays
anyway. Your problem had many more columns than rows so maybe that is why
other people have not noticed the bug.
Hopefully fixed now.
John
Derek Jones <scunacc at yahoo.com>
Sent by: coin-discuss-bounces at list.coin-or.org
09/22/2006 12:43 PM
Please respond to
scunacc at yahoo.com; Please respond to
Discussions about open source software for Operations Research
<coin-discuss at list.coin-or.org>
To
Discussions about open source software for Operations Research
<coin-discuss at list.coin-or.org>
cc
Subject
[Coin-discuss] AIX Ampl->nl->Linux->cbc->sol->AIX Ampl not working
Dear folks,
What I'm trying to achieve may be a non-started because of endian /
alignment issues, but I'm not sure.
I want to do this:
Have AMPL generate a .nl file, call a wrapper program instead of the
solver, send the .nl file via the wrapper to Linux, where I will solve
the problem using cbc file.nl -AMPL, then get the .sol file back on AIX.
I have problems.
Linux can't seem to write the .sol file properly. It *appears* to solve
OK, but then bombs in the writesol.c file in getsufhead.
I've traced thru, and there appears to be unreadable pointer memory
inside the current "d" variable.
Anyhow, has anyone got the ampl solver stuff to work OK on Linux? If so,
what compile options did you use?
Has anyone faced the above problem?
Has anyone else :-) tried anything as crazy as the subject line at all ?
Kind regards
Derek Jones.
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20060922/6029747b/attachment.html>
More information about the Coin-discuss
mailing list