Rev | Line | |
---|
[37] | 1 | function output = createoutput(primal,dual,slack,problem,tag,input,output,time) |
---|
| 2 | |
---|
| 3 | if nargin == 1 |
---|
| 4 | problem = primal; |
---|
| 5 | primal = []; |
---|
| 6 | dual = []; |
---|
| 7 | slack = []; |
---|
| 8 | input = []; |
---|
| 9 | output = []; |
---|
| 10 | time = []; |
---|
| 11 | end |
---|
| 12 | |
---|
| 13 | output.Primal = primal; |
---|
| 14 | output.Dual = dual; |
---|
| 15 | output.Slack = slack; |
---|
| 16 | output.problem = problem; |
---|
| 17 | output.infostr = yalmiperror(problem,tag); |
---|
| 18 | output.solverinput = input; |
---|
| 19 | output.solveroutput= output; |
---|
| 20 | output.solvertime = time; |
---|
| 21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.