You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm new to using common lisp and have been playing with your fantastic library. I've been running into errors when trying to run some of the examples provided in your repo.
Here is some relevant info:
OS: macOS Ventura 13.4 SBCL: 2.3.4 NLOPT: 2.7.1 (installed via homebrew on macOS)
I had to make a minor addition to your code to allow nlopt to recognize my libnlopt.dylib file on my Mac.
I'm not advanced enough in lisp to understand fully why it's erroring out, but I do notice that it appears the chosen algorithm is different between the two (:nlopt_ln_cobyla vs. :nlopt_ld_mma) and also the macro expanded code leaves out the when conditional found in the objective function in (example-mma)
Please let me know if you might have a work around or way to address this issue. Thank you for your time!
The text was updated successfully, but these errors were encountered:
Hello, I'm new to using common lisp and have been playing with your fantastic library. I've been running into errors when trying to run some of the examples provided in your repo.
Here is some relevant info:
OS: macOS Ventura 13.4
SBCL: 2.3.4
NLOPT: 2.7.1 (installed via homebrew on macOS)
I had to make a minor addition to your code to allow nlopt to recognize my
libnlopt.dylib
file on my Mac.On to the issue at hand. When I run the following example, I get the following error:
So when I run
macroexpand
on the above code example, I get the following output:Now you can see that this code is slightly different than the code provided in
example.lisp
under theexample-mma
function definition:When I run
(example-mma)
I get the following output:I'm not advanced enough in lisp to understand fully why it's erroring out, but I do notice that it appears the chosen algorithm is different between the two (
:nlopt_ln_cobyla
vs.:nlopt_ld_mma
) and also the macro expanded code leaves out thewhen
conditional found in the objective function in(example-mma)
Please let me know if you might have a work around or way to address this issue. Thank you for your time!
The text was updated successfully, but these errors were encountered: