GithubHelp home page GithubHelp logo

gamspy's Introduction

plot


preview.mp4

GAMSPy: Algebraic Modeling Interface to GAMS

Installation

pip install gamspy

What is it?

GAMSPy is a mathematical optimization package that combines the power of the high performance GAMS execution system and flexibility of the Python language. It includes all GAMS symbols (Set, Alias, Parameter, Variable, and Equation) to compose mathematical models, a math package, and various utility functions.

Design Philosophy

GAMSPy makes extensive use of set based operations -- the absence of any explicit looping, indexing, etc., in native Python. These things are taking place, of course, just “behind the scenes” in optimized, pre-compiled C code.

Set based approach has many advantages:

  • Results in more concise Python code -- avoids inefficient and difficult to read for loops
  • Closely resembles standard mathematical notation
  • Easier to read
  • Fewer lines of code generally means fewer bugs

Main Features

Here are just a few of the things that GAMSPy does well:

  • Specify model algebra in Python natively
  • Combines the flexibility of Python programming flow controls and the power of model specification in GAMS
  • Test a variety of solvers on a model by changing only one line

Documentation

The official documentation is hosted on GAMSPy Readthedocs.

Getting Help

For usage questions, the best place to go to is GAMS. General questions and discussions can also take place on the GAMS World Forum.

Discussion and Development

If you have a design request or concern, please write to [email protected].

gamspy's People

Contributors

mabdullahsoyturk avatar jbroihan avatar hbusul avatar clemensgams avatar mbussieck avatar rschuchmann avatar boxblox avatar fproske avatar ahmed-alqershi9 avatar ffiand 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.