The Gauss-Jordan Elimination Program - DOS Version

First enter the number of variables and then the number of equations. Press the enter (or return) key after any number is entered. Enter the initial matrix one number at a time. Note that all entries must be integers. If an equation contains decimals or fractions, it must be cleared of the fractions before entering the numbers. Keep in mind that once the initial matrix appears, each press of the space bar takes you one more step towards solving the problem.

Correcting Mistakes

If you realize that you have entered a wrong number before pressing the enter key, use the backspace key (the key with a single arrow pointing to the left) to delete your mistake. If you have already pressed the enter key, continue to type the remaining entries. After the last entry, the matrix will appear. At this point you may correct any wrong entries by typing c. You are then prompted, "Enter element to change." Enter the row number, followed by a comma, followed by the column number of the element to change. Press the enter key and then enter the correct number. You may correct more than one entry in this manner.

The Simplex Method Program

When asked a question requiring a yes or no response, type y or n. The case of the letter is not important. If you are entering your own problem, you must first enter the number of variables (excluding P and the slack or surplus variables) and the number of constraints (excluding the constraints). Press the enter or return key after any number is entered. You then must enter the initial matrix one number at a time. Note that all entries must be integers. If an equation contains decimals or fractions, it must be cleared of the fractions before entering the numbers.

Keep in mind that once the initial matrix appears, each press of the space bar takes you one more step towards solving the problem. Numbers that appear on the right of the dashed line are the ratios used in determining the pivot row. The highlighted number is the pivot. The letters used for the variables are as follows: "x's" are used for given variables, "s's" for slack or surplus variables. Important note: Row operations appear on the left of the matrix and immediately to the left of the row to be changed.

This program will solve standard maximum and minimum problems as well as problems with mixed constraints. If "Phase 1" is necessary you are prompted to enter the pivot row and pivot column. Separate these entries with a comma. You must decide whether to continue with this phase or proceed to "Phase 2." Once proceeding the computer takes over and chooses the pivots.

Correcting Mistakes Same as for the Gauss-Jordan program.