public ActionResult Genetic2(GData item) { item = gitem; item.kf[2] = new List <double>() { 120 - 120 * 0.05, 90 - 90 * 0.05, 80 - 80 * 0.05, 70 - 70 * 0.05, 2800000 }; item.Solve(); return(View("Genetic", item)); }
public ActionResult Genetic3(GData item) { item = gitem; item.kf[0] = new List <double>() { 100 - 83, 100 - 89, 100 - 95, 100 - 98 }; item.Solve(); return(View("Genetic", item)); }
public ActionResult Simplex3(SData item) { item = this.item; item.dtFunctionVariables = new List <double> { 100 - 83, 100 - 89, 100 - 95, 100 - 98 }; item.Solve(); return(View("Simplex", item)); }
public ActionResult Genetic1(GData item) { item = gitem; item.kf[0] = new List <double>() { 105 - 83 - 83 * 0.05, 105 - 89 - 89 * 0.05, 105 - 95 - 95 - 0.05, 105 - 98 - 98 * 0.05 }; item.Solve(); return(View("Genetic", item)); }
public ActionResult Simplex(SData item, string Method) { try { item.Solve(); } catch (Exception) { } return(View(item)); }
public ActionResult Simplex1(SData item) { item = this.item; item.dtFunctionVariables = new List <double> { 105 - 83 - 83 * 0.05, 105 - 89 - 89 * 0.05, 105 - 95 - 95 - 0.05, 105 - 98 - 98 * 0.05 }; item.Solve(); return(View("Simplex", item)); }
public ActionResult Simplex2(SData item) { item = this.item; item.dtVariables = new List <List <double> > { new List <double>() { 120 - 120 * 0.05, 90 - 90 * 0.05, 80 - 80 * 0.05, 70 - 70 * 0.05 }, new List <double>() { 1, 1, 1, 1 } }; item.Solve(); return(View("Simplex", item)); }
public ActionResult GeneticGeneral(GData item) { item = gitem; item.Solve(); return(View("Genetic", item)); }
public ActionResult SimplexGeneral(SData item) { item = this.item; item.Solve(); return(View("Simplex", item)); }