⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 glpksparse.m

📁 This routine calls the glpk library to solve a LP/MIP problem. A typical LP problem has following s
💻 M
字号:
disp('3rd problem');s=1;c=[0 0 0 -1 -1]';a=sparse([-2 0 0 1 0;...    0 1 0 0 2;...    0 0 1 3 2]);b=[4 12 18]';ctype=['S','S','S']';lb=[0,0,0,0,0]'; ub=[];vartype=['C','C','C','C','C']';param.msglev=3;lpsolver=2;[xmin,fmin,status,extra]=glpkmex(s,c,a,b,ctype,lb,ub,vartype,param,lpsolver)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -