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

📄 glpktest1.m

📁 This routine calls the glpk library to solve a LP/MIP problem. A typical LP problem has following s
💻 M
字号:
clear;disp('1st problem');s=-1;c=[10,6,4]';a=[1,1,1;...   10,4,5;...   2,2,6];b=[100,600,300]';ctype=['U','U','U']';lb=[0,0,0]';ub=[];vartype=['C','C','C']';param.msglev=3;lpsolver=1;save_pb=0;[xmin,fmin,status,extra]=glpkmex(s,c,a,b,ctype,lb,ub,vartype,param,lpsolver,save_pb)

⌨️ 快捷键说明

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