[Symphony] Symphony with floats

Ashutosh Mahajan asm4 at lehigh.edu
Tue Mar 30 10:19:56 EDT 2010


I can only speculate at this time.  Did you change the definition of DSIZE? it
is used to allocate memory for several double arrays. Also, I would suggest
turning off cuts just to check if the error happens because of the way cuts
are stored.  this can be done by writing

generate_cgl_cuts 0

in the options file and using -f "name-of-file" in the arguments. running
through a memory profiler like valgrind or purify can also tell where these
errors are originating.
--
regards
Ashutosh Mahajan
http://coral.ie.lehigh.edu/~asm4

On Tue, Mar 30, 2010 at 07:08:24AM -0700, Schulz, Bryan wrote:
> We did a search and replace on doubles and changed all references to single precision (changing max and min values as well).  The changes work well for small problems, but we begin to see access violations as the problem size increases (such as for a row count of 119 and a column count of 849).  The error reported is:
> 
> 'An unhandled exception of type 'System.AccessViolationException' occurred in SymphonyTester.exe
> Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'  
> 
> Any ideas where the faults could be coming?
> 
> Thanks,
> Bryan
> 
> 
> -----Original Message-----
> From: Ashutosh Mahajan [mailto:asm4 at Lehigh.EDU] 
> Sent: Friday, March 26, 2010 3:52 PM
> To: Schulz, Bryan
> Cc: symphony at list.coin-or.org
> Subject: Re: [Symphony] Symphony with floats
> 
> I don't think it will be easy to make symphony work with floats. Even if we
> compile symphony with floats, the other packages that it depends on (CLP, CGL,
> Osi ...) may not work with floats. 
> 
> --
> regards
> Ashutosh Mahajan
> http://coral.ie.lehigh.edu/~asm4
> 
> On Fri, Mar 26, 2010 at 12:35:58PM -0700, Schulz, Bryan wrote:
> >    Is there a version of symphony that uses floats instead of doubles.  I am
> >    working on an embedded application where doubles would impose unnecessary
> >    cycles.
> > 
> > 
> > 
> >    Thanks,
> > 
> >    Bryan
> > 
> > 
> > 
> >    Bryan Schulz
> > 
> >    Algorithm Engineer
> > 
> >    Logos Technologies, Inc.
> > 
> >    8045 Arco Corporate Drive
> > 
> >    Suite 230
> > 
> >    Raleigh, NC  27617
> > 
> >    919-926-0343  (voice)
> > 
> >    919-272-0696  (cell)
> > 
> >    [1]bschulz at logostech.net
> > 
> >    [2]www.logos-technologies.com
> > 
> > 
> > 
> >    This email message and any attachments are for the sole use of the
> >    intended recipients and may contain proprietary and/or confidential
> >    information which may be privileged or otherwise protected from
> >    disclosure. Any unauthorized review, use, disclosure or distribution is
> >    prohibited. If you are not the intended recipients, please contact the
> >    sender by reply email and destroy the original message and any copies of
> >    the message as well as any attachments to the original message.
> > 
> > 
> > 
> > 
> > 
> > References
> > 
> >    Visible links
> >    1. mailto:bschulz at logostech.net
> >    2. http://www.logos-technologies.com/
> 
> > _______________________________________________
> > Symphony mailing list
> > Symphony at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/symphony
> 




More information about the Symphony mailing list