It uses Math.ceil(). It's right!?
because parameter of IntegerGene require upper bound that is inclusive.
java -classpath ".;../../jgap.jar" KnapsackMain 100
The best solution has a fitness value of 4.99999896E8
It contained the following:
10 x cash
For a total volume of 102.0 ccm
Expected volume was 100.0 ccm
Volume difference is 2.0 ccm
or, it means I should change a bigger bag?
Log in to post a comment.