Optimization: principles and algorithms, by Michel Bierlaire
ex0712.m
Go to the documentation of this file.
1 %> \file
2 %> \f$F(x)=(x_1^3 - 3 x_1 x_2^2 -1, x_2^3 - 3x_1^2 x_2)\f$
3 %> @author <a href="http://people.epfl.ch/michel.bierlaire">Michel Bierlaire</a>
4 %> @date Sat Apr 5 19:47:58 2014
5 %> @ingroup Examples
6 %> @ingroup chap07
7 
8 %> Example 7.12 in \cite Bier15-book
9 function [F,J] = ex0712(x)
10  F = [ x(1) * x(1) * x(1) - 3 * x(1) * x(2) * x(2) - 1 ; x(2) * x(2) * x(2) - 3 * x(1) * x(1) * x(2)] ;
11  J = [ 3 * x(1) * x(1) - 3 * x(2) * x(2) , -6 * x(1) * x(2) ; -6 *x(1) * x(2) , 3* x(2) * x(2) - 3 * x(1) * x(1) ] ;
12 endfunction
function ex0712(in x)
Example 7.12 in .
Copyright 2015-2018 Michel Bierlaire