[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Compile foo.mac on Maxima
From: |
Yoriaki FUJIMORI |
Subject: |
Re: [Gcl-devel] Compile foo.mac on Maxima |
Date: |
Sun, 05 Aug 2007 19:45:58 +0900 |
Dear listers,
I wrote some inadequate information in my previous email.
So, I rewrite it;
I have written foo.mac, a code of simplex algorithm for class room
LP problems. (I know there has been a contribution of simplex
algorithm in maxima distribution. But, it seems that this
contribution does not solve LP with equality constraints.)
Foo.mac runs well on the interpreter.
All functions have got modedeclare() for local variables
at the beginning of them.
I compiled it on Maxima, by way of translate_file() and compile_file().
I loaded the resulting foo.fasl, and tried some of problems.
Then, an error message appears, like
On gcl 2.6.7/Maxima 5.12.0
-----------------------
Maxima encountered a Lisp error:
Error in MACSYMA-TOP-LEVEL [or a callee]: ((RAT SIMP) -95 2) is not of type
NUMBER.
Automatically continuing.
-----------------------
On sbcl 1.04/maxima 5.11.0
--------
Maxima encounterd a Lisp error:
Error during processin of --eval option "(cl-user::run)":
Argument X is not a REAL: ((RAT SIMP) -95 2)
Automatically continuing
--------
This error occurs inside the pivotting routine.
Some problems are solved without this runtime error, but some
causes this error.
Can some kind soul tell me whee I should try to find a clue
for solution?
Thanks in advance for your responce.
yoriaki fujimori