Giter Site home page Giter Site logo

alkisplas / mprj_rcpsp Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 2.0 8.05 MB

Formulations for the robust Resource-Constrained Project Scheduling Problem (RCPSP) using Pyomo modelling.

Python 93.29% Shell 6.71%
rcpsp pyomo bilevel-optimization robustness branch-and-bound cplex

mprj_rcpsp's Introduction

Mixed integer programming formulations for the robust resource constrained project scheduling problem.

This project investigates the impact of different formulations on the solution quality of the robust resource constrained project scheduling problem (RCPSP).

Two mixed-integer programming (MIP) formulations are presented under the assumption of deterministic activity processing times. These are found under the rcpsp/formulations/perfect_knowledge directory.
rcpsp_dis.py separates the time horizon to discrete intervals while rcpsp_con.py assumes a continuous horizon .

Following a minimax bilevel approach, we formulate the worst case makespan robust RCPSP using the pyomo.bilevel package. The bilevel models are reformulated to each of the perfect-knowledge MIP formulations and then solved using the CPLEX solver. These can be found under the rcpsp/formulations/robust directory.

For every formulation we implement a pyomo abstract model and a corresponding solver class that instantiates the model, computes a warm start solution using a serial schedule generation scheme rcpsp/heuristics/sgs.py and invokes CPLEX using the SolverFactory wrapper.

The models are executed on the PSPLIB instances found under data/instances/json.

The project is structured as follows.

.
├── README.md
├── data
│   └── instances
│       ├── json
│       │   ├── j120
│       │   ├── j30
│       │   ├── j60
│       │   └── j90
│       └── sm
│           ├── j120
│           ├── j30
│           ├── j60
│           └── j90
└── rcpsp
    ├── formulations
    │   ├── perfect_knowledge
    │   │   ├── continuous
    │   │   │   ├── rcpsp_con.py
    │   │   │   └── solver_con.py
    │   │   └── discrete
    │   │       ├── rcpsp_dis.py
    │   │       └── solver_dis.py
    │   └── robust
    │       ├── continuous
    │       │   └── worst_case_makespan
    │       │       ├── robust_rcpsp_con.py
    │       │       └── robust_solver_con.py
    │       └── discrete
    │           └── worst_case_makespan
    │               ├── robust_rcpsp_dis.py
    │               └── robust_solver_dis.py
    ├── heuristics
    │   ├── backward_recursion.py
    │   ├── forward_recursion.py
    │   └── sgs.py
    └── util
        ├── instance_execution
        │   ├── run_instances.sh
        │   └── worst_case_regret.sh
        ├── instance_postprocessing
        │   └── process_instance_results_extract_csv.py
        ├── instance_preprocessing
        │   ├── convert_sm.sh
        │   └── psplibconverter.py
        └── priority_rule_evaluation
            ├── run_pr.sh
            └── run_sgs.py

mprj_rcpsp's People

Contributors

alkisplas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mprj_rcpsp's Issues

About reffernce papers

Hi,
Could you add some papers or materials documentation which you have refferenced?

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.