comparison src/fsqp.cc @ 162:d1c5e5edbf1e

[project @ 1993-10-18 19:26:01 by jwe]
author jwe
date Mon, 18 Oct 1993 19:26:01 +0000
parents d68036bcad4c
children e83d64b26659
comparison
equal deleted inserted replaced
161:21b599370728 162:d1c5e5edbf1e
37 static tree *fsqp_objective; 37 static tree *fsqp_objective;
38 static tree *fsqp_constraints; 38 static tree *fsqp_constraints;
39 39
40 #ifdef WITH_DLD 40 #ifdef WITH_DLD
41 tree_constant * 41 tree_constant *
42 builtin_fsqp_2 (tree_constant *args, int nargin, int nargout) 42 builtin_fsqp_2 (const tree_constant *args, int nargin, int nargout)
43 { 43 {
44 return fsqp (args, nargin, nargout); 44 return fsqp (args, nargin, nargout);
45 } 45 }
46 #endif 46 #endif
47 47
48 double 48 double
49 fsqp_objective_function (ColumnVector& x) 49 fsqp_objective_function (const ColumnVector& x)
50 { 50 {
51 return 0.0; 51 return 0.0;
52 } 52 }
53 53
54 ColumnVector 54 ColumnVector
55 fsqp_constraint_function (ColumnVector& x) 55 fsqp_constraint_function (const ColumnVector& x)
56 { 56 {
57 ColumnVector retval; 57 ColumnVector retval;
58 return retval; 58 return retval;
59 } 59 }
60 60
61 tree_constant * 61 tree_constant *
62 fsqp (tree_constant *args, int nargin, int nargout) 62 fsqp (const tree_constant *args, int nargin, int nargout)
63 { 63 {
64 /* 64 /*
65 65
66 Handle all of the following: 66 Handle all of the following:
67 67