Skip to content

Commit

Permalink
Small fix to pinedo doc, add colab badge
Browse files Browse the repository at this point in the history
  • Loading branch information
tpaviot committed Dec 30, 2023
1 parent 487658b commit 31cc58f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/pinedo.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Scheduling. Theory, Algorithms, and Systems

<a target="_blank" href="https://colab.research.google.com/github/tpaviot/ProcessScheduler/blob/master/examples-notebooks/pinedo.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>

This section presents examples from [Michael Pinedo](https://wp.nyu.edu/michaelpinedo/)'s renowned book:

Pinedo, Michael. L. (2012) "Scheduling. Theory, Algorithms, and Systems". 4th edition. Springer New York, NY. ISBN doi: [10.1007/978-1-4614-2361-4](https://doi.org/10.1007/978-1-4614-2361-4)
Expand Down Expand Up @@ -149,7 +153,7 @@ The maximum lateness optimization is achievd using:

``` py
lateness_indicator = ps.IndicatorMaximumLateness()
ps.ObjectiveMinimizeIndicator(target=ind, weight=1)
ps.ObjectiveMinimizeIndicator(target=lateness_indicator, weight=1)
```

After solving, this gives the following Gantt chart, confirming "that schedule 1, 3, 4, 2 has to be optimal".
Expand Down
2 changes: 1 addition & 1 deletion examples-notebooks/pinedo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install processscheduler"
"!pip install processscheduler ipympl"
]
},
{
Expand Down

0 comments on commit 31cc58f

Please sign in to comment.