Giter Club home page Giter Club logo

pyomo_simple_minlp's Introduction

A repository to demonstrate a simple MINLP in Pyomo

This repository demonstrates a simple mixed-integer nonlinear optimization problem (MINLP), its modeling and solution in Pyomo. The problem is modeled both with a NonNegativeIntegers domain for the elements of the vector variable and with mixed domains of the vector variable (NonNegativeIntegers and NonNegativeReals).

The following files are included:

  • MINLP_description.pdf - a mathematical description of the MINLP optimization problem;

  • Jupyter Notebooks:

  1. clean_opt_integer.ipynb - the optimization problem with a NonNegativeIntegers domain for the elements of the vector variable z; solved with a locally installed Couenne solver, gives identical results as the BARON solver;
  2. clean_opt_integer-neos.ipynb - the same optimization problem, but solved with the NEOS server and Couenne solver, slightly different results;
  3. clean_opt_mixed.ipynb - the optimization problem with mixed domains (NonNegativeIntegers and NonNegativeReals) for the elements of the vector variable z; solving with a locally installed Couenne solver does not converge;
  4. clean_opt_mixed-neos.ipynb - the same mixed optimization problem, but solved with the NEOS server and Couenne solver, different (presumably incorrect) results than the BARON solver.
  • NL model files:
  1. mymodel-couenne-integer.nl - model file for notebook 1;
  2. mymodel-couenne-integer-neos.nl - model file for notebook 2;
  3. mymodel-couenne-neos.nl - model file for notebook 4.

pyomo_simple_minlp's People

Contributors

pmlpm1986 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.