From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,69bb03cc695b330a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-19 19:40:10 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!sunqbc.risq.qc.ca!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!sea-read.news.verio.net.POSTED!not-for-mail Newsgroups: comp.lang.ada From: Brian Rogoff Subject: Re: Large numbers (or is Ada the choice for me?) In-Reply-To: <3AB67086.6A1BA83C@earthlink.net> Message-ID: References: <3AB67086.6A1BA83C@earthlink.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue, 20 Mar 2001 03:33:09 GMT NNTP-Posting-Host: 206.184.139.136 X-Complaints-To: abuse@verio.net X-Trace: sea-read.news.verio.net 985059189 206.184.139.136 (Tue, 20 Mar 2001 03:33:09 GMT) NNTP-Posting-Date: Tue, 20 Mar 2001 03:33:09 GMT Organization: Verio Xref: supernews.google.com comp.lang.ada:5881 Date: 2001-03-20T03:33:09+00:00 List-Id: On Mon, 19 Mar 2001, Robert I. Eachus wrote: > Hans Georg Schaathun wrote: > > > I need a tool to solve large systems of linear equations, with no > > floating point operations (or any other approximations) allowed. > > Even though I am not a seasoned programmer, I think I'll have to > > write the tool myself. > > > > My question is, will it be reasonably simple to handle large > > rational numbers with Ada? Is there any packages for this? > > Others have answered this correctly, but let me suggest a better way to > approach your original problem. If the linear equations you are dealing > with are inequalities, That is not possible. It is possible for a system of linear inequalities to be a system of linear equations though ;-). > then you are trying to solve an (HP-hard) integer > programming problem. If you're trying to solve an integer programming problem, there's only a few cases where solving an LP problem makes sense. > If all of the equations are equalities, then there All equations are equalities by definition. OK, sorry Robert, I'm in a pesky mood :-} -- Brian