QUADRATIC PROGRAMMING APPLIED TO THE PROBLEM OF GALAXY POPULATION SYNTHESIS.