comparison main/optim/inst/test_d2_min_1.m @ 9930:d30cfca46e8a octave-forge

optim: upgrade license to GPLv3+ and mention on DESCRIPTION the other package licenses
author carandraug
date Fri, 30 Mar 2012 15:14:48 +0000
parents 97f77d4bd426
children 28b882879c6e
comparison
equal deleted inserted replaced
9929:df50d0ae107f 9930:d30cfca46e8a
1 ## Copyright (C) 2002 Etienne Grossmann. All rights reserved. 1 ## Copyright (C) 2002 Etienne Grossmann <etienne@cs.uky.edu>
2 ## 2 ##
3 ## This program is free software; you can redistribute it and/or modify it 3 ## This program is free software; you can redistribute it and/or modify it under
4 ## under the terms of the GNU General Public License as published by the 4 ## the terms of the GNU General Public License as published by the Free Software
5 ## Free Software Foundation; either version 2, or (at your option) any 5 ## Foundation; either version 3 of the License, or (at your option) any later
6 ## later version. 6 ## version.
7 ## 7 ##
8 ## This is distributed in the hope that it will be useful, but WITHOUT 8 ## This program is distributed in the hope that it will be useful, but WITHOUT
9 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 9 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 10 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
11 ## for more details. 11 ## details.
12 ##
13 ## You should have received a copy of the GNU General Public License along with
14 ## this program; if not, see <http://www.gnu.org/licenses/>.
12 15
13 ## Test whether d2_min() functions correctly 16 ## Test whether d2_min() functions correctly
14 ## 17 ##
15 ## Gives a simple quadratic programming problem (function ff below). 18 ## Gives a simple quadratic programming problem (function ff below).
16 ## 19 ##
17 ## Sets a ok variable to 1 in case of success, 0 in case of failure 20 ## Sets a ok variable to 1 in case of success, 0 in case of failure
18 ## 21 ##
19 ## If a variables "verbose" is set, then some comments are output. 22 ## If a variables "verbose" is set, then some comments are output.
20
21 ## Author: Etienne Grossmann <etienne@cs.uky.edu>
22 23
23 1 ; 24 1 ;
24 25
25 if ! exist ("verbose"), verbose = 0; end 26 if ! exist ("verbose"), verbose = 0; end
26 27