Privacy Preserving Data Mining using Optimization Methods