summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipopt/qpipopt_zeros.sce
blob: 993993a5cfecd0efdbbb16524e513ac1d2913ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

// A simple example without constraints and all values to zero
A= [];
conLB=[];
conUB = [];
lb=[];
ub=[];
f=[0]'; 
H =[0];
nbVar = 1;
nbCon = 0;


//Output
//
//Optimal Solution Found.

//   lower: 0
//   upper: 0
//   constraint: [0x0 constant]
// 
// lambda   
// 
//   Iterations: 0
//	 ConstrViolation: 0
// output   
// 
//  0  
// 
// exitflag   
// 
//    0.  
// 
// fopt   
// 
//    0.  
// 
// xopt 

[xopt,fopt,exitflag,output,lambda]=qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB)