Package org.xilaew.jampl

Examples of org.xilaew.jampl.JAMPL.kill()


    jampl.setSolver("couenne");
    printResult(jampl.solve());
    System.out.println("found a result!");
    System.out.println("a is: "+jampl.getParameter("a"));
    System.out.println("x is: "+jampl.getVariable("x"));
    jampl.kill();
  }

  private static void printResult(SolveResult result) {
    switch (result) {
    case Unbounded:
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.