public class AmplJamplTest {
public static void main(String[] args) throws IOException {
JAMPL jampl = AmplFactory.createJAMPL();
jampl.setSolver("cplex");
jampl.loadModel("output/assignment.mod");
jampl.loadData("output/assignment0.dat");
SolveResult result = jampl.solve();
printResult(result);
jampl.setSolver("couenne");
printResult(jampl.solve());