• Solutions
    • By Type
    • Gurobi Optimizer
    • Gurobi Compute Server
    • Gurobi Instant Cloud
    • Licensing
    • By Role
    • Data Professionals
    • Operations Researchers
    • Business Leaders
    • Academics
    • Consultants and ISVs
    • By Industry
    • Telecom
    • Power and Utilities
    • Supply Chain
    • Financial Services
    • Oil and Gas
    • All Industries
  • Resources
    • FAQs
    • What is Gurobi Optimizer?
    • What is Mathematical Optimization?
    • What is Prescriptive Analytics?
    • What is Gurobi Experts?
    • Why Choose Gurobi?
    • Learn
    • Events and Webinars
    • Blog
    • Solution Sheets
    • Management Guides
    • Research Reports
    • Product Demos
    • LP and MIP Training
    • All Resources
    • Use Cases
    • Customer Case Studies
    • Jupyter Examples
  • Partners
    • Partners
    • Gurobi Alliance
    • Work with a Partner
    • Partner Accelerator Program
    • Be a Partner

    Don’t Go It Alone. Gurobi and Its Partners Provide the Continuum of Support You Need.

    While the mathematical optimization field is more than 70 years old, many customers are still learning how to make the most of its capabilities. That’s why, at Gurobi, we have established the Gurobi Alliance partner network—a group of trusted partners who can support you in achieving your optimization goals.

     Learn More
  • Academic
    • Academic
    • Gurobi for Academics
    • Take Gurobi With You
    • Gurobi for Online Courses

    Burrito Optimization Game

    The game was developed as a free educational tool for introducing students to the power of optimization. In order to play the game, you will need to be logged in to your Gurobi account.

     Learn More
  • Company
    • About Us
    • Our Story
    • Our Team
    • Activity
    • Newsroom
    • Careers
    • Events and Webinars
    • Contact Us

    Tata Steel On Track To Save Millions In Production Costs With Gurobi

     Learn More
  • Documentation
    • Table of Contents
    • Quick Start Guides
    • Example Tours
    • Reference Manual
    • AMPL-Gurobi Guide
    • Remote Services
    • Cloud Guide
    • Open-Source Packages
  • Downloads & Licenses
    • Download Center
    • Gurobi Software
    • Gurobi Solver for AMPL
    • AMPL and Gurobi
    • Your Gurobi Licenses
  • Support
    • Gurobi Experts
    • Help Center
    • Community
    • Upload
  • Register
  • Login
  • My Account
Free Trial
  • Solutions
    • BY TYPE
      • Gurobi Optimizer
      • Gurobi Compute Server
      • Gurobi Instant Cloud
      • Licensing
    • BY ROLE
      • Data Professionals
      • Operations Researchers
      • Business Leaders
      • Academics
      • Consultants and ISVs
    • BY INDUSTRY
      • Telecom
      • Power and Utilities
      • Supply Chain
      • Financial Services
      • Oil and Gas
      • All Industries
  • Resources
    • FAQS
      • What is Gurobi Optimizer?
      • What is Mathematical Optimization?
      • What is Prescriptive Analytics?
      • What is Gurobi Experts?
      • Why Choose Gurobi?
    • LEARN
      • Events and Webinars
      • Blog
      • Solutions Sheets
      • Management Guides
      • Research Reports
      • Product Demos
      • LP and MIP Training
      • All Resources
    • USE CASES
      • Customer Case Studies
      • Jupyter Examples
  • Partners
    • Gurobi Alliance
    • Work with a Partner
    • Partner Accelerator Program
    • Be a Partner
  • Academic
    • Gurobi for Academics
    • Take Gurobi With You
    • Gurobi for Online Courses
  • Company
    • ABOUT US
      • Our Story
      • Our Team
    • ACTIVITY
      • Newsroom
      • Careers
      • Events and Webinars
      • Contact Us
  • Free Trial
  • Documentation
    • Table of Contents
    • Quick Start Guides
    • Example Tours
    • Reference Manual
    • AMPL-Gurobi Guide
    • Remote Services
    • Cloud Guide
    • Open-Source Packages
  • Downloads & Licenses
    • Download center
    • Gurobi Software
    • Gurobi Solver for AMPL
    • AMPL and Gurobi
    • Your Gurobi Licenses
  • Support
    • Gurobi Experts
    • Help Center
    • Community
    • Upload
  • Login
  • Register
  • Account

Documentation

Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Languages
${item.name}
${os_item.name}
${os_sub_item.name}
${os_sub_sub_item.name} +
${os_sub_sub_sub_item.name} +
${os_sub_sub_sub_sub_item.name}
${sub_item.name}
${sub_sub_item.name} +
${sub_sub_sub_item.name} +
${sub_sub_sub_sub_item.name}
next up previous
Next: Source code for the Up: Guidelines for Numerical Issues Previous: Further reading

Source code examples:



Subsections
  • Source code for the experiment of optimizing over a circle
  • Source code for the experiment on a thin feasible region
  • Source code for the experiment with column scalings

next up previous
Next: Source code for the Up: Guidelines for Numerical Issues Previous: Further reading

GUROBI NEWSLETTER

Latest news and releases

Twitter Linkedin Youtube
Also of Interest:
  • Undefined references problem when compiling…
  • Functional Code Examples
  • Open Source Projects
Legal Notices:    Standard EULA   |    Cloud EULA    |   AMPL EULA   |   Cloud SLA   |   WLS SLA
Cookie Settings     |     Privacy Policy     |     © Gurobi Optimization, LLC. All Rights Reserved.
What's New

What's
New at Gurobi

News
Gurobi 10.0 Delivers Blazing-Fast Speed, Innovative Data Science Integration, and an Enterprise Development and Deployment Experience
Latest release enables data professionals to easily integrate machine learning models into optimization models to solve new types of problems.
 Learn More
Event
Webinar: What’s New in Gurobi 10.0
In this webinar, attendees will get a first look at our upcoming product release, Gurobi 10.0. We will summarize the performance improvements and highlight some of the underlying algorithmic advances, such as the network simplex algorithm, enhancements in concurrent LP, and optimization based bound tightening.
 Learn More
Event
Optimization 101 for Data Scientists
 Learn More
new content
Cost Savings & Business Benefits for Gurobi Customers
2022 Total Economic Impact™ Study Reveals A 518% ROI with Gurobi
 Learn More
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie Settings Accept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
BIGipServersj02web-nginx-app_httpssessionNGINX cookie
cookielawinfo-checkbox-advertisement1 yearSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
CookieLawInfoConsent1 yearRecords the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
elementorneverThis cookie is used by the website's WordPress theme. It allows the website owner to implement or change the website's content in real-time.
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
CookieDurationDescription
__cf_bm30 minutesThis cookie, set by Cloudflare, is used to support Cloudflare Bot Management.
_mkto_trk2 yearsThis cookie is set by Marketo. This allows a website to track visitor behavior on the sites on which the cookie is installed and to link a visitor to the recipient of an email marketing campaign, to measure campaign effectiveness. Tracking is performed anonymously until a user self-identifies by submitting a form.
bcookie1 yearLinkedIn sets this cookie from LinkedIn share buttons and ad tags to recognize browser ID.
bscookie1 yearLinkedIn sets this cookie to store performed actions on the website.
doc_langsBB1 yearDocumentation system cookie
doc_version1 yearDocumentation system cookie
langsessionLinkedIn sets this cookie to remember a user's language setting.
lidc1 dayLinkedIn sets the lidc cookie to facilitate data center selection.
UserMatchHistory1 monthLinkedIn sets this cookie for LinkedIn Ads ID syncing.
whova_client_id10 yearsEvent agenda system cookie
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
CookieDurationDescription
_gat_UA-5909815-11 minuteA variation of the _gat cookie set by Google Analytics and Google Tag Manager to allow website owners to track visitor behaviour and measure site performance. The pattern element in the name contains the unique identity number of the account or website it relates to.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
_an_uid7 days6Sense Cookie
_ga2 yearsThe _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
_gcl_au3 monthsProvided by Google Tag Manager to experiment advertisement efficiency of websites using their services.
_gd_session4 hoursThis cookie is used for collecting information on users visit to the website. It collects data such as total number of visits, average time spent on the website and the pages loaded.
_gd_visitor2 yearsThis cookie is used for collecting information on the users visit such as number of visits, average time spent on the website and the pages loaded for displaying targeted ads.
_gid1 dayInstalled by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
6suuid2 years6Sense Cookie
AnalyticsSyncHistory1 monthNo description
CONSENT2 yearsYouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
dj10 yearsDemandJump cookie
djaimid.a28e2 yearsDemandJump cookiean
djaimses.a28e30 minutesDemandJump cookie
li_gc5 months 27 daysLinkedIn Cookie
ln_or1 dayLinkedIn Cookie
vuid2 yearsVimeo installs this cookie to collect tracking information by setting a unique ID to embed videos to the website.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
CookieDurationDescription
__adroll1 year 1 monthThis cookie is set by AdRoll to identify users across visits and devices. It is used by real-time bidding for advertisers to display relevant advertisements.
__adroll_fpc1 yearAdRoll sets this cookie to target users with advertisements based on their browsing behaviour.
__adroll_shared1 year 1 monthAdroll sets this cookie to collect information on users across different websites for relevant advertising.
__ar_v41 yearThis cookie is set under the domain DoubleClick, to place ads that point to the website in Google search results and to track conversion rates for these ads.
_fbp3 monthsThis cookie is set by Facebook to display advertisements when either on Facebook or on a digital platform powered by Facebook advertising, after visiting the website.
_te_sessionAdroll cookie
fr3 monthsFacebook sets this cookie to show relevant advertisements to users by tracking user behaviour across the web, on sites that have Facebook pixel or Facebook social plugin.
IDE1 year 24 daysGoogle DoubleClick IDE cookies are used to store information about how the user uses the website to present them with relevant ads and according to the user profile.
test_cookie15 minutesThe test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE5 months 27 daysA cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
YSCsessionYSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
yt-remote-connected-devicesneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt-remote-device-idneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt.innertube::nextIdneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
yt.innertube::requestsneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
Save & Accept