Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Fmincon details
Login with GitLab


Nonlinearily constrained multivariable optimization solver
(2278 downloads for this version - 28122 downloads for all versions)
A more recent valid version exists: 1.0.8
Michael Baudin
Owner Organization
Michael BAUDIN
Creation Date
November 24, 2010
Source created on
Scilab 5.2.x
Binaries available on
Scilab 5.2.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("fmincon")
            Fmincon toolbox


The goal of this toolbox is to provide a fmincon function 
in Scilab.
The fmincon function is a nonlinearily constrained optimization
Currently, we use ipopt for the actual solver of fmincon.

The current state of the function is experimental.
Many features are yet to be implemented.

We provide upgraded versions of the optimset and 
optimget functions, which manage options which 
are required by fmincon.

The current implementation is able to manage 
the following use cases.
We use a L-BFGS formula in order to compute an approximate 
of the Hessian of the Lagrangian.

(0) The initial guess is provided in the x0 input argument.

(1) The nonlinear objective function and 
the nonlinear constraints are provided.
The fun and nonlcon function can be customized to 
configure the nonlinear objective function and nonlinear constraints.
In this case, we use order two finite differences with optimal 
step size in order to compute the gradient of the objective 
function and the gradient of the constraints.

(2) The parameters are subject to bounds.
The lb and ub parameters can be configure to set 
bounds on the parameters.

(3) The objective function and constraints function can 
provide the exact gradients as additionnal output arguments
of their function definition.
The two "GradObj" and "GradConstr" options can be turned 
"on" for that purpose.

Linear equalities and linear inequalities are not managed in the current


 * fmincon : Solves a nonlinearily constrained optimization problem.


I thank Vincent Couvert and Yann Collette for their feedback on this module.


fmincon (0.3) : Fixed bug on Linux.
fmincon (0.2) : Fixed bug in Demos/runtests.
Files (2)
[126.03 kB]
Source code archive

[158.12 kB]
OS-independent binary for Scilab 5.2.x
Binary version
Automatically generated by the ATOMS compilation chain

News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.