2728293031323334353637
lp.setLogLevel(4); lp.setInputSource(1); lp.setInputMPSFileName(task); lp.solve(); log += lp.getMessages(); for (int i = 0; i < lp.getNumberColumns(); i++) { result += i + ". variable: " + lp.getSolution(i) + "\n";