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

  • 相关阅读:
    javaScript中的find()方法和返回数据的内存指向
    高级函数 filter map reduce 的使用
    for ... in and for ... of 理解
    git 解决冲突问题
    H5内唤醒百度、高德APP
    HTML 5标准中最新引入的template标签介绍
    jquery选择器使用
    ajax封装函数
    常用正则表达式
    JS-----事件、image对象
  • 原文地址:https://www.cnblogs.com/1zhk/p/4973031.html
Copyright © 2011-2022 走看看