We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 265cb6b commit 12500d1Copy full SHA for 12500d1
README.md
@@ -1,4 +1,26 @@
1
# SimpleTableaux
2
3
Illustration project for the optimization problem
4
-$\max c^t x$ subject to $Ax ≤ b$.
+$\max c^t x$ subject to $Ax ≤ b$.
5
+
6
+## Construction
7
8
+Start with these:
9
+```
10
+A = [3 5; 4 1]
11
+b = [78; 36]
12
+c = [5; 4]
13
14
+Then set up the `Tableau` as follows:
15
16
+julia> T = Tableau(A,b,c)
17
+3×6 DataFrame
18
+ Row │ x1 x2 s1 s2 val RHS
19
+ │ Exact Exact Exact Exact Exact Exact
20
+─────┼──────────────────────────────────────────
21
+ 1 │ 3 5 1 0 0 78
22
+ 2 │ 4 1 0 1 0 36
23
+ 3 │ -5 -4 0 0 1 0
24
25
+Notice that the last row is the encoding of the objective function.
26
0 commit comments