Implement a naive min cost flow model and solve it with JaCoP. Also, support configuration for the scheduler.