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, 2 weeks ago |
History
Julien Ugon 9 months, 2 weeks ago
Published this.Julien Ugon 9 months, 2 weeks ago
Gave some feedback: Needs to be tested
Julien Ugon 9 months, 4 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 |
[ "≥0", "≥0", "free" ]
|
||||
A | list |
Nested 6×3 list
|
||||
b | list |
[ -4, 1, 4, 0, 3, -5 ]
|
||||
direction | list |
List of 6 items
|
||||
C | list |
[ 3, -4, 2 ]
|
||||
optimise | string |
maximise
|
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}4x_{1} & +5x_{2
|
||||
objective_string | string |
3*x1+-4*x2+2*x3
|
||||
objective | expression |
3x1 - 4x2 + 2x3
|
||||
Jp | set |
set(1,2)
|
||||
Jn | set |
set()
|
||||
systema | string |
\begin{aligned}4x_{1} & +5x_{2
|
||||
systemb | string |
\begin{gathered}4 x_{1} + 5 x_
|
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+1*y2+4*y3+0*y4+3*y5+-5*y
|
||||
objectived | expression |
y2 + 4y3 - 4y1 + 3y5 - 5y6
|
||||
Ld | list |
List of 3 items
|
||||
Cpd | list |
List of 3 items
|
||||
Constraintsd | list |
List of 3 items
|
||||
Systemd | string |
\begin{gathered}4 y_{1} - 5 y_
|
||||
Jdn | list |
[ 3, 4, 5 ]
|
||||
Jdp | list |
[ 6 ]
|
||||
directionv | list |
[ "≥", "≥", "=" ]
|
||||
optimised | string |
minimise
|
||||
Adlt | matrix |
matrix()
|
||||
Adgt | matrix |
Matrix of size 2×7
|
||||
Adeq | matrix |
matrix([-1,-2,5,1,5,-1,2])
|
Name | Type | Generated Value |
---|
reorder | list |
[ 4, 0, 2, 5, 1, 3 ]
|
||||
I1 | matrix |
Matrix of size 6×6
|
||||
I2 | matrix |
Matrix of size 7×7
|
||||
A1 | matrix |
matrix()
|
||||
A2 | matrix |
Matrix of size 2×7
|
||||
A3 | matrix |
matrix([-2,5,5,-1,-1,1,2])
|
||||
c1 | vector |
vector(1,3,4,-5,-4,0)
|
||||
J1 | set |
set(4)
|
||||
J2 | set |
set(3,6,2)
|
||||
test | integer |
2
|
Name | Type | Generated Value |
---|
cstudent | list |
[ -4, 1, 4, 0, 3, -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
This variable doesn't seem to be used anywhere.
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.