Package program

Source Code of program.Main

package program;

import cplexutils.OptionsCatalog;

/**
* The main program lists all parameters known to CPLEX and to CPOptimizer.
*
* @author Paul A. Rubin <parubin73@gmail.com>
* @version 2.0
*/
public class Main {

  /**
   * @param args the command line arguments
   */
  public static void main(String[] args) {
    // parse CPLEX parameters
    OptionsCatalog  cplex = new OptionsCatalog(OptionsCatalog.Solver.CPLEX);
    System.out.println(cplex);
    // parse CPOptimizer parameters
    OptionsCatalog cp = new OptionsCatalog(OptionsCatalog.Solver.CPOPTIMIZER);
    System.out.println("\n" + cp);
  }
 
}
TOP

Related Classes of program.Main

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.