-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running toyCar in octave #42
Comments
OptimTraj is not designed to run in Octave. At the time of writing, it didn't even run at all (no implementation for Do you get a similar error on all of the other example problems? My guess is that the Octave implementation of |
Hi Matthew, There is indeed an optim library in Octave now, which contains fmincon (though it needs to be loaded with pkg load optim). How/Where do I set finite difference gradients? |
The Octave SQP sounds like a reasonable choice - good luck! By default, If the Octave solver requires that you provide a gradient, then I suggest that you try to go through the analytic gradient route. Look at the example code in |
Hi, I am running toyCar's MAIN.m file, and get this error
I am wondering if this is due to me using octave, or if there is a fundamental bug happening.
Another "fix" I've had to do is to add
options in optimset in GetDefaultOptions.m. Otherwise directCollocation.m's line 26
flagGradObj = strcmp(Opt.nlpOpt.GradObj,'on');
was raising an error.
Not sure if this is also an issue due to octave or if it's actually an issue with the code.
The text was updated successfully, but these errors were encountered: