@Test(groups = "1s")
public void testmulticost_regular() {
Solver solver = new Solver();
IntVar[] VARS = VF.enumeratedArray("VARS", 5, 0, 2, solver);
IntVar[] CVARS = VF.enumeratedArray("CVARS", 5, 0, 10, solver);
FiniteAutomaton fauto = new FiniteAutomaton();
int start = fauto.addState();
int end = fauto.addState();
fauto.setInitialState(start);
fauto.setFinal(start, end);
fauto.addTransition(start, start, 0, 1);
fauto.addTransition(start, end, 2);
fauto.addTransition(end, end, 1);
fauto.addTransition(end, start, 0, 2);
int[][][] costs = new int[5][3][];
// costs[0] = new int[]{1, 2, 3};
// costs[1] = new int[]{2, 3, 1};
// costs[2] = new int[]{3, 1, 2};