Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 93e5793

Browse files
committed
Rename simplex_main() to simplex_two_phase()
1 parent d1b0579 commit 93e5793

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ where **c** is a _cost coefficients_ vector, **x** is a vector of _decision vari
2424
];
2525
b = [4; 1];
2626
c = [-3 1];
27-
[x z] = simplex_main(A, b, c, false)
28-
27+
[x z] = simplex_two_phase(A, b, c, false)
28+
2929
**Result**
3030

3131
x =
3232
4
3333
0
34-
34+
3535
z =
3636
-12
3737

src/simplex_two_phase.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
%%
2222
% Main control for simplex two-phase algorithm.
2323
%%
24-
function [x z chk] = simplex_main(A, b, c, v)
24+
function [x z chk] = simplex_two_phase(A, b, c, v)
2525
if v
2626
fprintf("SimplexTwoPhase v1.1.0\n");
2727
end

0 commit comments

Comments
 (0)