[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Compile foo.mac on Maxima

From: Yoriaki FUJIMORI
Subject: [Gcl-devel] Compile foo.mac on Maxima
Date: Sun, 05 Aug 2007 19:13:16 +0900

Dear listers,

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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]