*/
public static void testSingleClosedLD_step() {
System.out.println("Customers: 1");
SolverSingleClosedMVA mva = new SolverSingleClosedMVA(1, 4);
String[] name = { "Delay", "Disk1", "CPU", "Disk2" };
int[] type = { Solver.DELAY, Solver.LD, Solver.LI, Solver.LD };
double[][] servt = { { 15 }, { 0, 0.03 }, { 0.005 }, { 0, 0.027 } };
double[] visit = { 1, 70, 121, 50 };
if (mva.input(name, type, servt, visit)) {
mva.solve(false);
}
System.out.println(mva);
System.out.println("Customers: 2");
mva = new SolverSingleClosedMVA(2, 4);
String[] name2 = { "Delay", "Disk1", "CPU", "Disk2" };
int[] type2 = { Solver.DELAY, Solver.LD, Solver.LI, Solver.LD };
double[][] servt2 = { { 15 }, { 0, 0.03, 0.03 }, { 0.005 }, { 0, 0.027, 0.027 } };
double[] visit2 = { 1, 70, 121, 50 };
if (mva.input(name2, type2, servt2, visit2)) {
mva.solve(false);
}
System.out.println(mva);
System.out.println("Customers: 3");
mva = new SolverSingleClosedMVA(3, 4);
String[] name3 = { "Delay", "Disk1", "CPU", "Disk2" };
int[] type3 = { Solver.DELAY, Solver.LD, Solver.LI, Solver.LD };
double[][] servt3 = { { 15 }, { 0, 0.03, 0.03, 0.03 }, { 0.005 }, { 0, 0.027, 0.027, 0.027 } };
double[] visit3 = { 1, 70, 121, 50 };
if (mva.input(name3, type3, servt3, visit3)) {
mva.solve(false);
}
System.out.println(mva);
System.out.println("End LD");