@Override
    public void open(Solver<Solution_> solver) {
        DefaultSolver<Solution_> defaultSolver = (DefaultSolver<Solution_>) solver;
        defaultSolver.getSolverScope().getScoreDirector().overwriteConstraintMatchEnabledPreference(true);
        defaultSolver.addPhaseLifecycleListener(listener);
    }
@Override
    public void open(Solver<Solution_> solver) {
        DefaultSolver<Solution_> defaultSolver = (DefaultSolver<Solution_>) solver;
        defaultSolver.getSolverScope().getScoreDirector().overwriteConstraintMatchEnabledPreference(true);
        defaultSolver.addPhaseLifecycleListener(listener);
    }
@ Override public void open ( Solver < Solution_ > solver ) { DefaultSolver < Solution_ > defaultSolver = ( DefaultSolver < Solution_ > ) solver ; defaultSolver . getSolverScope ( ) . getScoreDirector ( ) . overwriteConstraintMatchEnabledPreference ( true ) ; defaultSolver . addPhaseLifecycleListener ( listener ) ; }
************************************************************************
************************************************************************