public void drawSolution() {
		System.out.println();
		for (int i = 0; i < solution.length; i++) {
			if (solution[i]==1) {
				Constraint c = getConstraints().get(i);
				c.setSelected(true);
			}
		} 
		for (int i = 0; i < rows.size(); i++) {
			ConstraintCollection cc = getRowByIndex(i+1);
			for (Constraint c : cc.getConstraints()) {
				if (c.isSelected) {
					c.draw();
				}
			}
		}
	}