option solver mindopt; # (可选)指定求解用的求解器,默认是MindOpt#option mindopt_options'print=0';#设置求解器输出级别,减少过程打印solve; # 求解 print "---Display---"; display; # 展示结果 print "经过优化后,最低运输成本=" , sum { in LINKS } data[i, j, "cost"] * Ship[i, j]; 结...
option solver mindopt; # (可选)指定求解用的求解器,默认是MindOpt#option mindopt_options'print=0';#设置求解器输出级别,减少过程打印solve; # 求解 print "---Display---"; display; # 展示结果 print "经过优化后,最低运输成本=" , sum { in LINKS } data[i, j, "cost"...