IDEAS home Printed from https://ideas.repec.org/a/sae/medema/v43y2023i7-8p760-773.html
   My bibliography  Save this article

Constrained Optimization for Decision Making in Health Care Using Python: A Tutorial

Author

Listed:
  • K. H. Benjamin Leung

    (Department of Mechanical and Industrial Engineering, University of Toronto, Toronto, ON, Canada
    Scottish Ambulance Service, Edinburgh, Scotland, UK)

  • Nasrin Yousefi

    (Smith School of Business, Queen’s University, Kingston, ON, Canada)

  • Timothy C. Y. Chan

    (Department of Mechanical and Industrial Engineering, University of Toronto, Toronto, ON, Canada)

  • Ahmed M. Bayoumi

    (MAP Centre for Urban Health Solutions, St. Michael’s Hospital, Unity Health Toronto, Toronto, ON, Canada
    Department of Medicine, University of Toronto, Toronto, ON, Canada
    Division of General Internal Medicine, University of Toronto, Toronto, ON, Canada
    Institute of Health Policy, Management and Evaluation, University of Toronto, ON, Canada)

Abstract

Constrained optimization can be used to make decisions aimed at maximizing some quantity in the face of fixed limits, such as resource allocation problems in health where tradeoffs between alternatives are inherent, and has been applied in a variety of health-related applications. This tutorial guides the reader through the process of mathematically formulating a constrained optimization problem, providing intuitive explanations for each component within the problem. We discuss how constrained optimization problems can be implemented using software and provide instructions on how to set up a solution environment using Python and the Gurobi solver engine. We present 2 examples from the existing literature that illustrate different constrained optimization problems in health and provide the reader with Python code used to solve these problems as well as a discussion of results and sensitivity analyses. This tutorial can be used to help readers formulate constrained optimization problems in their own application domains. Highlights This tutorial provides a user-friendly guide to mathematically formulating constrained optimization problems and implementing them using Python. Two examples are presented to illustrate how constrained optimization is used in health applications, with accompanying Python code provided.

Suggested Citation

  • K. H. Benjamin Leung & Nasrin Yousefi & Timothy C. Y. Chan & Ahmed M. Bayoumi, 2023. "Constrained Optimization for Decision Making in Health Care Using Python: A Tutorial," Medical Decision Making, , vol. 43(7-8), pages 760-773, October.
  • Handle: RePEc:sae:medema:v:43:y:2023:i:7-8:p:760-773
    DOI: 10.1177/0272989X231188027
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/0272989X231188027
    Download Restriction: no

    File URL: https://libkey.io/10.1177/0272989X231188027?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:medema:v:43:y:2023:i:7-8:p:760-773. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.