Open miguel14 opened 7 years ago
Ok, I'll fix it up. Thanks
@miguel14 could you please again upload somethere your fix? All your links is broken :(
@MiKaminskas Hi, I found several bugs, so I better used the solver of CommonsMath3 of Apache. Sorry I delete the code.
I use your code, and this have issues when I run this program
Maximize p = x + y subject to 2x + y <= 4, x + 2y <= 3
I solve it changing findEnteringColumn function
`// finds the next entering column private int findEnteringColumn(){ //float[] values = new float[cols]; //int location = 0;
To validate I use this web https://www.zweigmedia.com/RealWorld/simplex.html
My complete code is here
`/*
import lp.LPObjects.Simplex.ERROR;
/**
@author Miguel Angel Ramos Valdovinos */ public class prueba {
public static void main(String[] args) {
}
} `