Error
There was an error loading the page.
GIve a random linear program and ask the students to convert it to canonical form.
Metadata
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of SIT316 :
Julien Ugon | said | Needs to be tested | 8 months, 2 weeks ago |
History
Julien Ugon 8 months, 2 weeks ago
Published this.Julien Ugon 8 months, 2 weeks ago
Gave some feedback: Needs to be tested
Julien Ugon 9 months, 1 week ago
Created this.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
|
||||
positivity | list |
[ 1, -1, 0 ]
|
||||
ncons | integer |
4
|
||||
A | list |
Nested 4×3 list
|
||||
b | list |
[ 4, 5, -5, 1 ]
|
||||
direction | list |
[ "=", "=", "≥", "=" ]
|
||||
C | list |
[ -5, 1, 1 ]
|
||||
optimise | string |
maximise
|
Name | Type | Generated Value |
---|
x | list |
[ "x1", "x2", "x3" ]
|
||||
L | list |
List of 4 items
|
||||
Cp | list |
List of 4 items
|
||||
Constraints | list |
List of 4 items
|
||||
system | string |
\begin{gathered}x_{1} + x_{2}
|
||||
objective_string | string |
-5*x1+1*x2+1*x3
|
||||
objective | expression |
x2 - 5x1 + x3
|
||||
Jp | set |
set(1)
|
||||
Jn | set |
set(2)
|
Name | Type | Generated Value |
---|
y | list |
[ "y1", "y2", "y3", "y4" ]
|
||||
Mv | list |
Nested 4×3 list
|
||||
Av | list |
Nested 4×4 list
|
||||
cv | list |
[ [ -5 ], [ -1 ], [ 1, -1 ] ]
|
||||
cc | list |
[ -5, -1, 1, -1 ]
|
||||
objectivev_string | string |
-5*y1+-1*y2+1*y3+-1*y4
|
||||
objectivev | expression |
-5y1 - y2 + y3 - y4
|
||||
Lv | list |
List of 4 items
|
||||
Cpv | list |
List of 4 items
|
||||
Constraintsv | list |
List of 4 items
|
||||
Systemv | string |
\begin{gathered}y_{1} - y_{2}
|
||||
nvarcanonical | number |
4
|
||||
nconscanonical | number |
7
|
Name | Type | Generated Value |
---|
Mc | list |
List of 4 items
|
||||
Ac | list |
Nested 7×4 list
|
||||
bv | list |
List of 4 items
|
||||
bc | list |
[ 4, -4, 5, -5, 5, 1, -1 ]
|
||||
AA | matrix |
Matrix of size 7×5
|
||||
Lc | list |
List of 7 items
|
||||
Cpc | list |
List of 7 items
|
||||
Constraintsc | list |
List of 7 items
|
||||
systemc | string |
\begin{gathered}y_{1} - y_{2}
|
Name | Type | Generated Value |
---|
cstudent | list |
[ -5, -1, 1, -1 ]
|
Generated value: integer
- A
- C
- positivity
- x
This variable doesn't seem to be used anywhere.
Information only
Ask the student a question, and give any hints about how they should answer this part.
In this quiz you will be asked to convert linear programs to canonical or standard forms. The variables in the solution will be y1,…,yn.
After you convert the linear program in your notes, your own solution may have different variable names, for example, your constraints may look like:
x1+3x+2−3x−2+s1=2−2x1−5x+2+5x−2−2x3+s2=33x1−x3=5.
Each of your variables should be assigned to one of the yi variables in the quiz, for example:
y1=x1y2=x+2y3=x−2y4=x3y3=s1y4=s2
In the quiz the constraints then should become
y1+3y2−3y3+0y4+y5+0y6=2−2y1−5y2+5y3−2y4+0y5+y6=33y1+0y2+0y3−1y4+0y5+0y6=5
In order to enter your solution in the boxes, select the appropriate number of rows (number of constraints, here, for example, 3) and of columns (number of variables, plus the right hand side, here 7) and enter the coefficients. For example:
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Information only | ||
Gap-fill | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet | ||
Matrix entry | ||
Hasn't run yet |
This question is used in the following exam: