Optimization: principles and algorithms, by Michel Bierlaire
Functions

\[\min f(x)=2(x_1^2+x_2^2-1)-x_1\]

subject to

\[x_1^2+x_2^2=1 \]

More...

Go to the source code of this file.

Functions

function ex2003 (in x, in index)
 

Detailed Description

\[\min f(x)=2(x_1^2+x_2^2-1)-x_1\]

subject to

\[x_1^2+x_2^2=1 \]

Author
Michel Bierlaire
Date
Fri Mar 27 15:41:39 2015

Definition in file ex2003.m.

Function Documentation

function ex2003 ( in  x,
in  index 
)
Parameters
xvalue of the variables
indexIf 0, the objective function is evaluated. If not, the constraint number index is evaluated.
Returns
f value of the function
g value of the gradient
H value of the hessian
Copyright 2015-2016 Michel Bierlaire