Giter Site home page Giter Site logo

xtaobai / docplex-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibmdecisionoptimization/docplex-examples

0.0 1.0 0.0 1.47 MB

These samples demonstrate how to use the DOcplex library to model and solve optimization problems.

Home Page: https://ibmdecisionoptimization.github.io/

License: Apache License 2.0

docplex-examples's Introduction

IBM® Decision Optimization Modeling for Python (DOcplex)

Welcome to the IBM® Decision Optimization Modeling for Python. Licensed under the Apache License v2.0.

With this library, you can quickly and easily add the power of optimization to your application. You can model your problems by using the Python API and solve them on the cloud with the IBM® Decision Optimization on Cloud service or on your computer with IBM® ILOG CPLEX Optimization Studio.

This library is composed of 2 modules:

  • IBM® Decision Optimization CPLEX Optimizer Modeling for Python - with namespace docplex.mp
  • IBM® Decision Optimization CP Optimizer Modeling for Python - with namespace docplex.cp

Solving with CPLEX locally requires that IBM® ILOG CPLEX Optimization Studio V12.8.0 is installed on your machine.

Solving with the IBM Decision Optimization on Cloud service requires that you register for an account and get the API key.

This library is numpy friendly.

Install the library

   pip install docplex

Get the documentation and examples

Get your IBM® Decision Optimization on Cloud API key

Optionally, you can run your optimization in the cloud with the IBM Decision Optimization on Cloud service.

  • Register for the DOcplexcloud free trial and use it free for 30 days. See Free trial.

  • Get your API key With your free trial, you can generate a key to access the DOcplexcloud API. Visit the Get API key & base URL page to generate the key once you've registered. This page also contains the base URL you must use for DOcplexcloud.

  • Copy/paste your API key and service URL where appropriate in the examples to be able to run them, or have a look at Setting up an optimization engine section of the documentation

Get your IBM® ILOG CPLEX Optimization Studio edition

  • You can get a free Community Edition of CPLEX Optimization Studio, with limited solving capabilities in term of problem size.

  • Faculty members, research professionals at accredited institutions can get access to an unlimited version of CPLEX through the IBM® Academic Initiative.

Dependencies

These third-party dependencies are automatically installed with pip

License

This library is delivered under the Apache License Version 2.0, January 2004 (see LICENSE.txt).

docplex-examples's People

Contributors

vlkong avatar rorykeeley avatar dominiquebertrand avatar

Watchers

James Cloos 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.