Skip to content

Commit

Permalink
Fixed hs116 call
Browse files Browse the repository at this point in the history
Fixed the output for example hs116 call
  • Loading branch information
Elizabeth Wong committed May 17, 2016
1 parent 7578d89 commit e1d1f95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions matlab/examples/hs116/hs116.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function hs116()
function [x,F,info]=hs116()
% HS Problem 116 with explicit linear constraints.

snprint('hs116.out');
Expand All @@ -14,7 +14,7 @@ function hs116()

options.name = 'hs116';

[x,F,INFO,xmul,Fmul]= snopt( x, xlow, xupp, xmul, xstate, ...
[x,F,info,xmul,Fmul]= snopt( x, xlow, xupp, xmul, xstate, ...
Flow, Fupp, Fmul, Fstate, ...
@hs116userfun, ObjAdd, ObjRow, ...
A, iAfun, jAvar, iGfun, jGvar, ...
Expand Down
2 changes: 1 addition & 1 deletion matlab/runNPexamples.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
fprintf('\n============================================================= ');
fprintf('\nhs116: snopt solves hs116 ... ');
snset ('Defaults');
[x,xmul,F,Fmul,info] = hs116;
[x,F,info] = hs116;

snscreen off

0 comments on commit e1d1f95

Please sign in to comment.