public boolean solvable(){
		
		@SuppressWarnings("unused")
		int heads = 0;
		float roomsRequired = 0;
		boolean solvable = true;
		
		/* for finding the hard constraints
		
		For each person
			If manager add 1 to rooms_required
			If head add 1 to rooms_required
			Else add .5 to rooms_required
	
		If float(rooms) <= rooms_required*/
		
		
		if(env.getMyPeople().size() != 0){
			for(int i = 0; i < env.getMyPeople().size(); i++){
				if(env.getMyPeople().get(i).getHeadsGroup() != null || env.getMyPeople().get(i).getHeadsProject() != null){
					roomsRequired += 1;
				}
				else if(env.getMyPeople().get(i).getManager()){
					roomsRequired += 1;
				}
				else{
					roomsRequired += 0.5;
				}
			}
		}
		else{
			solvable = false;
			System.out.println("#########Problem is not solvable##########");
		}
		
		if(env.getRoomNames().size() < roomsRequired){
			solvable = false;
			System.out.println("#########Problem is not solvable##########");
		}
		return solvable;
	}