Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jialei Ding committed Nov 29, 2024
1 parent 35aab0d commit 1ddc76c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions book/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,7 @@ parts:
sections:
- file: external/learn-python/book/08/sympy
- file: optimization/gurobi.md
sections:
title: Gurobi
title: "Week 2.4: Gurobi installation"

# THIS IS FOR WEEK 2.5
# START REMOVE-FROM-PUBLISH
Expand Down
6 changes: 3 additions & 3 deletions book/optimization/gurobi.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ The software is easy to install, but keep in mind:
Please do the following steps:
1. Connect your computer to the TU Delft network by connecting to Eduroam or the TU Delft VPN.
2. Register on the [Gurobi website](https://portal.gurobi.com/iam/register/){:target="_blank"} as a student. Set up your work as 'academic user', with 'student' as 'academic position'. You will be asked to verify your email address.
![Register online](../images_gurobi/register2.png).
![Register online](./images_gurobi/register2.png).
3. Download and install Gurobi optimizer from the [download page](https://www.gurobi.com/downloads/gurobi-software/){:target="_blank"} for your operating system.
3. If you are not on the TU Delft campus, this is when you should check to make sure your VPN connection is activated.
4. Visit the [License Request section of your User Portal](https://portal.gurobi.com/iam/licenses/request){:target="_blank"}, find the "Named-User Academic" block and select "GENERATE NOW." Once accepting the agreement, you should be immediately able to copy the key, as shown in the image:
![copy license](../images_gurobi/keycopy.png)
![copy license](./images_gurobi/keycopy.png)
5. We will open a command-line interface to set up the key (it doesn't matter which one you use, for example, the system default, Anaconda prompt or git bash; on **Windows** try `Win`+`R` then type `cmd` then press `enter`; on **Mac** open Terminal). For both platforms, all you should have to do is copy the license key, which will paste the following text: `grbgetkey xxxxxxxx`, where you should see your key instead of the `x`'s.
6. Next, you should see a prompt that looks like this:
```
Expand All @@ -57,4 +57,4 @@ Please do the following steps:
|If you need to find your license later, after it was generated, you can find it via the User Portal under "[Review your current licenses](https://portal.gurobi.com/iam/licenses/list){:target="_blank"}." Clicking the "Install" button, as shown below, will bring you to the same view as shown above in Step 4 to copy the license key.
![copy license](../images_gurobi/license.png)
![copy license](./images_gurobi/license.png)

0 comments on commit 1ddc76c

Please sign in to comment.