question: public void append ( ResultEntry entry ) throws IOException { numberOfEntries ++ ; List < Solution > feasibleSolutions = new ArrayList < Solution > ( ) ; for ( Solution solution : entry . getPopulation ( ) ) { if ( ! solution . violatesConstraints ( ) ) { feasibleSolutions . add ( solution ) ; } } Properties properties = entry . getProperties ( ) ; if ( feasibleSolutions . isEmpty ( ) && ( ( properties == null ) || ( properties . isEmpty ( ) ) ) ) { writer . println ( "//" ) ; } if ( ( properties != null ) && ! properties . isEmpty ( ) ) { printProperties ( properties ) ; } if ( ! feasibleSolutions . isEmpty ( ) ) { for ( Solution solution : feasibleSolutions ) { printSolution ( solution ) ; } } writer . println ( '#' ) ; }
target:  Appends the decision variables, objectives and optional properties to the output file.  Constraint violating solutions are not recorded.