Skip to content

Commit cb9e174

Browse files
committed
Rephrase "exactly one" to "at least one" selection groups
1 parent 92f23dc commit cb9e174

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To parse a specific instance format, set the `instance_format` argument in `pars
5353
Specifically, we included an extra line that defines for each task whether it is optional or not.
5454
6. `aslib`: The **ASLIB format** is the format used by RCPSP-AS instances from the ASLIB instance set at [OR&S project database](https://www.projectmanagement.ugent.be/research/data).
5555
ASLIB consist of three different parts (a, b, c).
56-
To use this parser, you have to merge parts (a) and (b) into a single file - part (c) is not parsed.
56+
To use this parser, you have to merge parts (a) and (b) into a single file - part (c) is not parsed. See [this](https://gist.github.com/leonlan/1064a9e785d4dca78b0839984edb1691) gist.
5757
7. `mslib`: The **MSLIB format** is the format used by MSRCPSP instances from the MSLIB instance set at [OR&S project database](https://www.projectmanagement.ugent.be/research/project_scheduling/MSRCPSP).
5858

5959
## Instance databases

example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
"\n",
348348
"1. Activities can be optional - they don't all need to be scheduled\n",
349349
"2. Activities each have a set of associated selection groups\n",
350-
"3. If an activity is scheduled, then for each selection group, exactly one activity must also be scheduled"
350+
"3. If an activity is scheduled, then for each selection group, at least one activity must also be scheduled"
351351
]
352352
},
353353
{

psplib/ProjectInstance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Activity:
6464
Whether this activity is optional or not. Default ``False``.
6565
selection_groups
6666
The selection groups of this activity. If the current activity is
67-
scheduled, then for each group, exactly one activity must be scheduled.
67+
scheduled, then for each group at least one activity must be scheduled.
6868
This is used for RCPSP-PS instances. Default is an empty list.
6969
name
7070
Optional name of the activity to identify this activity. This is

0 commit comments

Comments
 (0)