Giter Club home page Giter Club logo

edxu96 / matrixoptim.jl Goto Github PK

View Code? Open in Web Editor NEW
31.0 4.0 6.0 72.92 MB

Data-Driven Decision Making under Uncertainty in Matrix

Home Page: https://bookdown.org/edxu96/matrixoptim/

License: GNU General Public License v3.0

Julia 3.81% MATLAB 0.71% Python 92.32% Dockerfile 0.01% CSS 0.14% Shell 0.03% TeX 2.94% HTML 0.05%
milp mixed-integer-programming robust-optimization stochastic-optimization stochastic-programming decomposition-algorithm benders-decomposition dantzig-wolfe-decomposition

matrixoptim.jl's Introduction

MatrixOptim.jl

Code Style: Blue

MILP, Robust Optim. and Stochastic Optim., Decomposition Algorithms, and more in Matrix.

Tangram

MatrixOptim.jl is a package to model and solve optimization in uncertain context. The templates for robust optimization and stochastic optimization formulated in matrix are very coherent comprehensive, and the algorithms in matrix are very explicit.

This is a package I developed in 2019. Don't know too much about tests and documentation that time. I am trying to keep it up-to-date these days.

Introduction

The MILP can always be formulated in the following matrixes:

min  vec_c' * vec_x + vec_f' * vec_y
s.t. mat_A * vec_x + mat_B * vec_y <= vec_b
     vec_x in R
     vec_y in Z

Installation and Test

(v1.1) pkg> add MatrixOptim
(v1.1) pkg> test MatrixOptim

How to Use

For mixed integer linear programming:

model = getModel(vec_c, mat_aa, vec_b)
solveModel!(model)

For mixed integer linear programming with Benders decomposition:

model = getModelBenders(n_x, n_y, vec_min_y, vec_max_y, vec_c, vec_f, vec_b, mat_aa, mat_bb)
solveModelBenders!(model)

Right now, the supported solver is GLPK. Will add the feature to select other solvers, like Gurobi and CPLEX later.

Features

Models

  • Linear Programming
  • Mixed Integer Linear Programming
  • Robust Optimization
  • Stochastic Optimization
  • Markov Decision Process
  • Dynamic Optimization

Algorithms

  • Simplex Method
  • Branch and Cut for MILP
  • Benders Decomposition for MILP
  • L-Shaped Benders Decomp for Stochastic Optim
  • Dantzig-Wolfe Decomposition Family

Related to Development

More Info

  • Cookbook for theories and algorithms in MatrixOptim: MatrixOptim-Cookbook .
  • 矩阵优化:通过矩阵表示混合整数线性规划,鲁棒(抗差)优化,随机优化和分解算法。虽然项目是用 英文写的,但是有中文详解

matrixoptim.jl's People

Contributors

edxu96 avatar juliatagbot avatar texify[bot] avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

matrixoptim.jl's Issues

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.