added discrete and constrained optimization. Problem with constaints though
added discrete and constrained optimization. Problem with constaints though

flythereddflagg/lpfgopt,flythereddflagg/lpfgopt,flythereddflagg/lpfgopt