<br><font size=2 face="sans-serif">Derek,</font>
<br>
<br><font size=2 face="sans-serif">Thanks for sending me the example which
caused a segmentation fault..</font>
<br>
<br><font size=2 face="sans-serif">The problem was to do with one of the
status arrays. &nbsp;For integer problems these are not used by Cbc/Ampl
but Ampl still remembered them and tried to read the array in writesol.
&nbsp;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. &nbsp;Your problem
had many more columns than rows so maybe that is why other people have
not noticed the bug.</font>
<br>
<br><font size=2 face="sans-serif">Hopefully fixed now.</font>
<br>
<br><font size=2 face="sans-serif">John</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Derek Jones &lt;scunacc@yahoo.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">09/22/2006 12:43 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
scunacc@yahoo.com; Please respond to<br>
Discussions about open source software for Operations Research &nbsp; &nbsp;
&nbsp; &nbsp;&lt;coin-discuss@list.coin-or.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Discussions about open source software
for Operations Research &lt;coin-discuss@list.coin-or.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Coin-discuss] AIX Ampl-&gt;nl-&gt;Linux-&gt;cbc-&gt;sol-&gt;AIX
Ampl not working</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Dear folks,<br>
<br>
What I'm trying to achieve may be a non-started because of endian / <br>
alignment issues, but I'm not sure.<br>
<br>
I want to do this:<br>
<br>
Have AMPL generate a .nl file, call a wrapper program instead of the <br>
solver, send the .nl file via the wrapper to Linux, where I will solve
<br>
the problem using cbc file.nl -AMPL, then get the .sol file back on AIX.<br>
<br>
I have problems.<br>
<br>
Linux can't seem to write the .sol file properly. It *appears* to solve
<br>
OK, but then bombs in the writesol.c file in getsufhead.<br>
<br>
I've traced thru, and there appears to be unreadable pointer memory <br>
inside the current &quot;d&quot; variable.<br>
<br>
Anyhow, has anyone got the ampl solver stuff to work OK on Linux? If so,
<br>
what compile options did you use?<br>
<br>
Has anyone faced the above problem?<br>
<br>
Has anyone else :-) tried anything as crazy as the subject line at all
?<br>
<br>
Kind regards<br>
<br>
Derek Jones.<br>
_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-discuss<br>
</font></tt>
<br>