This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Following solves a linear programming problem | |
// In standardized form using the simplex method | |
// Please the read below. | |
/************************************************USAGE************************************************************* | |
* 1.Create an instance of the simplex class | |
* 2.Fill in the table with the standardized form of the problem by calling simplex.fillTable() | |
* 3.Create a while loop and call the simplex.compute() method until it returns ERROR.IS_OPTIMAL or ERROR.UNBOUNDED | |
* ****************************************************************************************************************/ | |
public class Simplex { |