-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
Description
Hi, I am running toyCar's MAIN.m file, and get this error
error: pivot is zero
error: called from
gjp at line 42 column 5
cpiv_bard at line 76 column 4
__lm_feasible__ at line 302 column 31
fmincon at line 417 column 24
directCollocation at line 95 column 33
trapezoid at line 74 column 10
optimTraj at line 180 column 24
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
'GradObj', 'off',...
'GradConstr', 'off'
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.
Reactions are currently unavailable