Giter Club home page Giter Club logo

supply_demand_optimization's Introduction

supply_demand_optimization

Run main.py script - it will trigger optimization in following stages

First stage Optimization- Existing Therapists Assignment

Objective - Minimize difference between demand and supply with the existing resources.

Variables -

  1. Tps (Time per practitioner and state), NonNegativeInteger
  2. Lps (new license assignment per practitioner and state) - Binary

Constraints -

  1. Therapist constraint - (p)∑Tps <= availability_per_therapist
  2. State constraint - (s)∑Tps <= demand_per_state
  3. Licensing constraint - Lps - {0, 1} if p didn’t have license in s before and p’s license_time < planning_horizon

Definitions

  1. p- {set of all available therapists, P}
  2. s- {set of all states with practice, S}

Second Stage Optimization - New Hire Assignment

Objective - Minimize the supply deficit with the new resources.

Variables -

  1. Tsh (Time per new hire and state),
  2. Lsh (license assignment per new hire and state)

Constraints -

  1. New hire constraint - (h)∑Tsh <= maximum_newhire_hrs
  2. State constraint - (s)∑Tsh <= supply_deficit_per_state
  3. Licensing constraint - Lps - {0, 1} if h’s license_time < planning_horizon

Definitions -

  1. h- {set id of all new potential hires, H}
  2. s- {set of all states with practice, S}

supply_demand_optimization's People

Contributors

mbsuraj avatar

Watchers

 avatar

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.