Giter Club home page Giter Club logo

dynamicmnl's Introduction

This directory provides an implementation of the algorithms for dynamic assortment optimization under the Multinomial logit choice model.

Dependencies

The package dependencies of the code are latest versions of the following packages:

  • numpy
  • pandas
  • gurobipy
  • scipy
  • numba

Functional description

The object constructed with Numerical() instanciates the random generator of the simulation.

  • The method refresh_data() samples new inputs,
  • The method sample_revenue() uses a sampling-based estimator for the expected revenue,
  • Several algorithmic methods are implemented: our constant-factor approximation algorithm(), a discrete greedy heuristic greedy(), a greedy local search method local_search(), a gradient-descent with regards to the Lovasz extension of the expected revenue function lovasz_greedy(), a dynamic programming-based relaxation relaxation_topaloglu(), an MIP-based deterministic relaxation relaxation_deterministic().
  • Other functions are auxiliary and need not be referenced in running the code.

The file Numericals.py() can be run as a script to replicate the computational results in the paper Greedy-Like Algorithms for Dynamic Assortment Planning Under Multinomial Logit Preferences, A. Aouad, R. Levi and D. Segev (2018) that appeared in Operations Research.

A work-in-progress implementation of a polynomial-time approximation scheme is provided in the file Ptas.py.

dynamicmnl's People

Contributors

ma-aouad 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.