数学建模(Lingo)(简单非线性规划)
首先的先写出数学公式,想在电脑上呈现的话可以去下载一个破解版的Mathtype;
截图如下:
实际示例:
缩略代码展示:
Model: TITLE 9527; sets: S/1..5/:v,x,w; endsets data: v=1,2,3,4,5; w=5,4,3,2,1; enddata max = @sum(s(i):v(i)*x(i)); @sum(s(i):w(i)*x(i))<1000; @for(s(i):@bin(x(i))); end
(ps:最后是小故事环节,女生一开口你就急着展开内心,你以为这是真诚,其实这是孤独)