Don’t know how to come up with a pricing model? Think figuring out it is too complicated, but coding genetic algorithms in Java is easier? Well, you’re in luck.
Brian Du Preez put together an algorithm to price wine by categorizing it with a k-Nearest Neighbours + Genetic Algorithm method. (From the aptly named www.javacodegeeks.com.)