org.chocosolver.parser.flatzinc.ChocoFZN Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of choco-parsers Show documentation
Show all versions of choco-parsers Show documentation
Provide parsers from FlatZinc, XCSP3 and MSP to Choco-solver.
The newest version!
/*
* This file is part of choco-parsers, http://choco-solver.org/
*
* Copyright (c) 2024, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.parser.flatzinc;
/**
* The main entry point
*
*
* @author Charles Prud'homme
* @since 16/07/13
*/
public class ChocoFZN {
public static void main(String[] args) throws Exception {
Flatzinc fzn = new Flatzinc();
if(fzn.setUp(args)) {
fzn.createSettings();
fzn.createSolver();
fzn.buildModel();
fzn.configureSearch();
fzn.solve();
}
}
}