diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /70/CH8/EX8.2.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '70/CH8/EX8.2.2')
-rwxr-xr-x | 70/CH8/EX8.2.2/8_2_2.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/70/CH8/EX8.2.2/8_2_2.sci b/70/CH8/EX8.2.2/8_2_2.sci new file mode 100755 index 000000000..c4ae6b711 --- /dev/null +++ b/70/CH8/EX8.2.2/8_2_2.sci @@ -0,0 +1,13 @@ +//page 238 +clear; +close; +clc; +A=[1 0 1 6 2;0 1 1 0 3]; +b=[8 9]'; +c=[0 0 7 -1 -3]'; +lb=[0 0 0 0 0]' +ub=[]; +[x,lagr,f]=linpro(c,A,b,lb,ub); +disp(x,'New corner:'); +disp(f,'Minimum cost:'); +//end
\ No newline at end of file |