Error
There was an error loading the page.
GIve a random linear program and ask the students to convert it to canonical form.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of SIT316 :
Julien Ugon | said | Needs to be tested | 9 months ago |
History
Julien Ugon 9 months ago
Published this.Julien Ugon 9 months ago
Gave some feedback: Needs to be tested
Julien Ugon 9 months, 2 weeks ago
Created this as a copy of Canonical form.Name | Status | Author | Last Modified | |
---|---|---|---|---|
Canonical form | Needs to be tested | Julien Ugon | 06/08/2024 00:32 | |
Duality | Needs to be tested | Julien Ugon | 06/09/2024 00:38 |
There are 9 other versions that do you not have access to.
Name | Type | Generated Value |
---|
nvar | integer |
3
|
||||
ncons | integer |
6
|
||||
positivity | list |
[ "free", "free", "≥0" ]
|
||||
A | list |
Nested 6×3 list
|
||||
b | list |
[ -4, -4, -5, 0, -5, 5 ]
|
||||
direction | list |
List of 6 items
|
||||
C | list |
[ -5, -5, 5 ]
|
||||
optimise | string |
minimise
|
Name | Type | Generated Value |
---|
x | list |
[ "x1", "x2", "x3" ]
|
||||
L | list |
List of 6 items
|
||||
Cp | list |
List of 6 items
|
||||
Constraints | list |
List of 6 items
|
||||
system | string |
\begin{aligned} & +1x_{2} & -4
|
||||
objective_string | string |
-5*x1+-5*x2+5*x3
|
||||
objective | expression |
-5x1 - 5x2 + 5x3
|
||||
Jp | set |
set(3)
|
||||
Jn | set |
set()
|
||||
systema | string |
\begin{aligned} & +1x_{2} & -4
|
||||
systemb | string |
\begin{gathered}x_{2} - 4 x_{3
|
Name | Type | Generated Value |
---|
y | list |
List of 6 items
|
||||
Ad | list |
Nested 3×6 list
|
||||
Mv | list |
Nested 6×3 list
|
||||
objectived_string | string |
-4*y1+-4*y2+-5*y3+0*y4+-5*y5+5
|
||||
objectived | expression |
-4y1 - 4y2 - 5y3 - 5y5 + 5y6
|
||||
Ld | list |
List of 3 items
|
||||
Cpd | list |
List of 3 items
|
||||
Constraintsd | list |
List of 3 items
|
||||
Systemd | string |
\begin{gathered}y_{2} + 5 y_{3
|
||||
Jdn | list |
[ 2, 3, 4 ]
|
||||
Jdp | list |
[ 1, 5, 6 ]
|
||||
directionv | list |
[ "=", "=", "≤" ]
|
||||
optimised | string |
maximise
|
||||
Adlt | matrix |
matrix([-4,-4,-1,1,-5,-2,5])
|
||||
Adgt | matrix |
matrix()
|
||||
Adeq | matrix |
Matrix of size 2×7
|
Name | Type | Generated Value |
---|
reorder | list |
[ 1, 3, 2, 4, 5, 0 ]
|
||||
I1 | matrix |
Matrix of size 6×6
|
||||
I2 | matrix |
Matrix of size 7×7
|
||||
A1 | matrix |
matrix([-2,-4,-1,-4,1,-5,5])
|
||||
A2 | matrix |
matrix()
|
||||
A3 | matrix |
Matrix of size 2×7
|
||||
c1 | vector |
vector(5,-4,-5,-4,0,-5)
|
||||
J1 | set |
set(2,6,1)
|
||||
J2 | set |
set(4,3,5)
|
||||
test | integer |
2
|
Name | Type | Generated Value |
---|
cstudent | list |
[ -4, -4, -5, 0, -5, 5 ]
|
||||
max_conversion | list |
Nested 7×2 list
|
||||
min_conversion | list |
Nested 7×2 list
|
||||
conversion | dict |
Dictionary with 7 entries
|
||||
nonnegativityCodes | list |
[ "≤0", "free", "≥0" ]
|
Generated value: integer
3
→ Used by:
- A
- C
- positivity
- x
Gap-fill
Ask the student a question, and give any hints about how they should answer this part.
subject to
Set the number of rows/columns to 0 manually if a constraint type does not exist in the dual.
Less than (≤) constraints
Equality constraints
Greater than (≥) constraints
yj≥0,∀j∈{
yj≤0,∀j∈{
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Gap-fill | ||
Hasn't run yet | ||
Choose one from a list | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet |
This question is used in the following exam:
- Duality Exam by Julien Ugon in SIT316.