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

📄 ex6.lp

📁 生成直角Steiner树的程序包
💻 LP
字号:
/*This example is from "Integer and Combinatorial Optimization" by George L.Nemhauser and Laurence A. Wolsey page 443.They claim that:"It is not hard to show that an optimal solution isx1 = 33x2 = 1x3 = 0x4 = 1x5 = 0x6 = 0x7 = 0and that the optimal OF value is 19972"This is not true. lp_solve will find a better solution. Just try.*/max: 592x1 + 381x2 + 273x3 + 55x4 + 48x5 + 37x6 + 23x7;3534x1 + 2356x2 + 1767x3 + 589x4 + 528x5 + 451x6 + 304x7 < 119567;int x1, x2, x3, x4, x5, x6, x7;

⌨️ 快捷键说明

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