CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2001
    Location
    Trutnov, Czech Republic
    Posts
    459

    Optimalization task

    Hi all,

    I've troubles solving this task:

    INPUT:
    File with airplanes specifications:
    - name of airplane
    - cost for rental/day
    - consumption - $/day
    - speed
    - range of flight
    - consumption of start
    - consumption of landing
    - recovery time
    - load capacity

    Network of airports:
    - distance between each two of them
    - limitation on weight of airplanes which can land here
    - airport fee
    - initial placement of airplanes on the airports

    File of orders:
    - from when, from where
    - until when, to where
    - how many we will get paid
    - weight of cargo

    TASK:
    Find the best possible plan of transport - to maximalise our profit.

    Does anybody have any idea?

    Thank you.
    The sun is the same in the relative way, but you're older
    Shorter of breath and one day closer to death


    - Roger Waters, 1973

  2. #2
    Join Date
    Jun 2002
    Location
    Moscow, Russia.
    Posts
    2,176

    Re: Optimalization task

    What are specific troubles? It's a bit tangled basically simple problem...
    "Programs must be written for people to read, and only incidentally for machines to execute."

  3. #3
    Join Date
    Jul 2001
    Location
    Trutnov, Czech Republic
    Posts
    459

    Re: Optimalization task

    Quote Originally Posted by RoboTact
    What are specific troubles? It's a bit tangled basically simple problem...
    There are so many dependencies that I don't know what I should start with, which heuristics to use...
    The sun is the same in the relative way, but you're older
    Shorter of breath and one day closer to death


    - Roger Waters, 1973

  4. #4
    Join Date
    Jun 2002
    Location
    Moscow, Russia.
    Posts
    2,176

    Re: Optimalization task

    It's linear programming optimization problem. Note that all given limitations are just linear inequalities imposed on a number of cost/time variables. You need only to create a system containing all those limitations and solve optimization problem, maximizing profit.
    "Programs must be written for people to read, and only incidentally for machines to execute."

  5. #5
    Join Date
    Jul 2001
    Location
    Trutnov, Czech Republic
    Posts
    459

    Re: Optimalization task

    Quote Originally Posted by RoboTact
    It's linear programming optimization problem. Note that all given limitations are just linear inequalities imposed on a number of cost/time variables. You need only to create a system containing all those limitations and solve optimization problem, maximizing profit.
    I was said it doesn't have optimal solution and best is to use some heuristics, maybe let's say 3 levels of prediction and always choose the best way. I don't think there is some easy way to construct system of inequations for linear programming task and whether it would even help...
    The sun is the same in the relative way, but you're older
    Shorter of breath and one day closer to death


    - Roger Waters, 1973

  6. #6
    Join Date
    Oct 1999
    Location
    ks
    Posts
    523

    Re: Optimalization task

    think this might be more than a linear programming problem given the
    the takeoff and landing fees. nonetheless - set up a list of
    tasks (moveing frewight from one destination to another) at each airport.

    whenever a choice exists beween planes to do a task sompute all possibilities and pick the cheapest.

    whenever a plane finds itself at an airport with no task add the cost of going to an airport that needs a task to the task. etc.

    i think the point is just get a simple strategy on how to deal with lists of tasks and plane locations. use your imagination.

    j

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured