zoukankan      html  css  js  c++  java
  • Lingo 做线性规划

    Reference: <An Introduction to Management Science Quantitative Approaches to Decision Making, Revised 13th Edition>

    Leisure Air has two Boeing 737-400 airplanes, one based in Pittsburgh and the other in Newark. Both airplanes have a coach section with a 132-seat capacity. Each morning the Pittsburgh-based plane flies to Orlando with a stopover in Charlotte, and the Newark-based plane flies to Myrtle Beach, also with a stopover in Charlotte. At the end of the day, both planes return to their home bases. To keep the size of the problem reasonable, we restrict our attention to the Pittsburgh–Charlotte, Charlotte–Orlando, Newark–Charlotte, and Charlotte–Myrtle Beach flight legs for the morning flights. Figure 5.4 illustrates the logistics of the Leisure Air problem situation.For May 5, Leisure Air established fares and developed forecasts of customer demand for each of 16 ODIFs. These data are shown in Table 5.3. determining how many Q and Y class seats to make available are important decisions that Leisure Air must make in order to operate its reservation system.

    Using P for Pittsburgh, N for Newark, C for Charlotte, M for Myrtle Beach, and O for Orlando, the decision variables take the following form:

    PCQ = number of seats allocated to Pittsburgh–Charlotte Q class
    PMQ = number of seats allocated to Pittsburgh–Myrtle Beach Q class
    POQ = number of seats allocated to Pittsburgh–Orlando Q class

    PCY = number of seats allocated to Pittsburgh–Charlotte Y class
    ...
    NCQ = number of seats allocated to Newark–Charlotte Q class
    ...
    COY = number of seats allocated to Charlotte–Orlando Y class

  • 相关阅读:
    01背包--小P寻宝记——粗心的基友
    StringIndexOutOfBoundsException
    2014秋C++ 第8周项目 分支程序设计
    【JavaScript】正則表達式
    专业函数画图软件Origin
    设计模式学习–Decorator
    python使用requests模块模拟登陆知乎
    分享几个比较好的站点
    【转载】selenium之 定位以及切换frame(iframe)
    判断Selenium加载完成
  • 原文地址:https://www.cnblogs.com/1zhk/p/4973031.html
Copyright © 2011-2022 走看看