use of nars.constraint.gui.GUI in project narchy by automenta.
the class AirPlaneLanding method solve.
@Override
public void solve() {
IntVar[] ivars = solver.retrieveIntVars();
// LNSFactory.pglns(solver, ivars, 30, 10, 200, 0, new FailCounter(100));
solver.plugMonitor(new GUI(solver));
// because PGLNS is not complete (due to Fast Restarts), we add a time limit
SMF.limitTime(solver, "55s");
// SMF.log(solver, true, true);
solver.findOptimalSolution(ResolutionPolicy.MINIMIZE, objective);
}