-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Adding more Tests to verify .pest spec
- Loading branch information
Showing
13 changed files
with
233 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
\ Comment line | ||
|
||
Max | ||
cost: -2 x - 3y +4z | ||
Subject To | ||
cons: 4.4 x + 5.5y + 6.6z <= 120 | ||
Bounds | ||
x free | ||
10 <= y <= 12 | ||
Binary | ||
z | ||
General | ||
y | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
\ Comment line | ||
|
||
Minimize | ||
obj1: -0.5 x - 2y - 8z | ||
obj2: y + x + z | ||
Subject To | ||
cons1: -199x + 10 y + z <= 0 | ||
cons2: y + z >= 0 | ||
Binary | ||
x | ||
General | ||
y | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
\ Comment line | ||
|
||
Minimize | ||
obj1: -0.5 x - 2y - 8z | ||
obj2: y + x + z | ||
Subject To | ||
cons1: -199x + 10 y + z <= 0 | ||
cons2: y + z >= 0 | ||
Binary | ||
x y z | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
\Three objectives; 2 constraints. | ||
|
||
Minimize | ||
obj1: -0.5 x - 2y - 8z | ||
obj2: y + x + z | ||
obj3: 10z - 2.5x | ||
+ y | ||
Subject To | ||
cons1: -199x + 10 y + z <= 0 | ||
cons2: y + z >= 0 | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
max | ||
obj: 1 x | ||
Subject To | ||
Bounds | ||
x free | ||
End | ||
C: 1 x <= 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Minimize | ||
b_5829890_x2 | ||
+ b_5880854_x2 | ||
Subject To | ||
- 2 b_5829890_x2 + 2 b_5829890_x1 <= -64 | ||
b_5880854_x2 - b_5880854_x1 >= 32 | ||
Bounds | ||
b_5829890_x1 >= 10 | ||
10 >= b_5880854_x1 | ||
1014 <= b_5829890_x2 <= 1917 | ||
1014 <= b_5880854_x2 <= 1917 | ||
Generals | ||
b_5829890_x2 b_5880854_x2 | ||
Binary | ||
b_5829890_x1 | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Minimize | ||
obj: -1 V4 + 1 V5 | ||
Subject To | ||
CON1: 1 V1 >= 0.0 | ||
CON2: 1 V2 >= 2.0 | ||
CON3: 1 V3 <= 2.5 | ||
CON4: 1 V5 + 1 V6 + 1 V7 <= 1.0 | ||
Bounds | ||
-inf <= V1 <= 3 | ||
-inf <= V2 <= 3 | ||
-inf <= V3 <= 3 | ||
5.5 <= V4 <= +inf | ||
0 <= V5 <= 1 | ||
0 <= V6 <= 1 | ||
0 <= V7 <= 1 | ||
0 <= V8 <= 1 | ||
General | ||
V4 | ||
Binary | ||
V8 | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Minimize | ||
obj1: -0.5 x - 2y - 8z | ||
obj2: y + x + z | ||
obj3: 10z - 2.5x | ||
+ y | ||
Subject To | ||
cons1: -199x + 10 y + z <= 0 | ||
cons2: y + z >= 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Maximize | ||
obj: -1 V4 + 1 V5 | ||
Subject To | ||
CON1: 1 V1 >= 0.0 | ||
CON2: 1 V2 >= 2.0 | ||
CON3: 1 V3 <= 2.5 | ||
CON4: 1 V5 + 1 V6 + 1 V7 <= 1.0 | ||
csos1: S1:: V1:1 V3:2 V5:3 | ||
csos2: S2:: V2:2 V4:1 V5:2.5 | ||
Bounds | ||
-inf <= V1 <= 3 | ||
-inf <= V2 <= 3 | ||
-inf <= V3 <= 3 | ||
5.5 <= V4 <= +inf | ||
0 <= V5 <= 1 | ||
0 <= V6 <= 1 | ||
0 <= V7 <= 1 | ||
0 <= V8 <= 1 | ||
General | ||
V4 | ||
Binary | ||
V8 | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters