private void readResourceList() throws IOException {
resourceListSize = readIntegerValue();
List<Resource> resourceList = new ArrayList<Resource>(resourceListSize);
for (int i = 0; i < resourceListSize; i++) {
Resource resource = new Resource();
resource.setId((long) i);
resource.setIndex(i);
resourceList.add(resource);
}
solution.setResourceList(resourceList);
}