I'm getting a syntax error for the samin function even though I've been using
the exact syntax given in the help command and online. The function I'm
trying to minimize works just fine and has a single input vector, I'm just
not sure what is wrong here.
If this isn't caused by pasting to nabble, the error might be caused by the
pretty quotation marks around “Bangcost”. Please, try with 'Bangcost' or
"Bangcost". Those are the two kinds of strings Octave understands.
Ok I understand where that was coming from, I was using Text Editor to edit my scripts and it gave me those fancy quotation marks. Octave is now running my global minimization script but it's taking a very long time and hasn't printed out any "temperatures." It may be because of the use of the unique function in Bangcost. When I was using Matlab I had to use their uniquetol function because Matlab was reading numbers with a lot of decimals as different when they were really the same, and then trying to solve my ode over a time interval of 0, eventually erroring out after hours of trying to solve it. Here are the functions I'm using for this: