Optimization: principles and algorithms, by Michel Bierlaire
ex1101.m
Go to the documentation of this file.
1 %> \file
2 %> \f$f(x)=\frac{1}{2} x_1^2 + \frac{9}{2} x_2^2\f$
3 %> @author <a href="http://people.epfl.ch/michel.bierlaire">Michel Bierlaire</a>
4 %> @date Fri Mar 20 17:00:08 2015
5 %> @ingroup Examples
6 %> @ingroup chap12
7 
8 %> Example 11.1 in \cite Bier15-book
9 function [f,g,H] = ex1101(x)
10  f = 0.5 * x(1) * x(1) + 4.5 * x(2) * x(2);
11  g = [ x(1) ; 9 * x(2) ] ;
12  H = [1 0 ; 0 9] ;
13 endfunction
function ex1101(in x)
Example 11.1 in .
Copyright 2015-2018 Michel Bierlaire