Commit Graph

4 Commits (4733d97cebde01370afaf617f790a70f051d4abc)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 2cf5c5d0c1
Removed Octave's idiosyncrasies.
Matlab Production Server (MPS) fails when onboarding the dynare package
because of `endif` and `endfunction` which are not available in matlab's
syntax.
2020-11-17 17:32:30 +01:00
Sébastien Villemot b3d1e8412b
Add support for mode_compute=1 under Octave
Since version 1.6, the optim Forge package has an implementation of fmincon.
Hence we can now use mode_compute=1 under Octave.

This commit also adds tests/optimizers/fs2000_1.mod to the testsuite. It will
be skipped under MATLAB if the optimization toolbox is not there, or under
Octave if optim ≥ 1.6 is not there.
2019-10-08 18:38:15 +02:00
Sébastien Villemot 7cbac0c989 Fix user_has_octave_forge_package
Packages are no longer autoloaded, so testing whether they are "Loaded" does
not work in all cases.

The function now ensures that the package is loaded.
2018-06-05 19:53:02 +02:00
Sébastien Villemot 4e537fcdcc New function for testing an Octave Forge package 2012-04-20 21:36:49 +02:00