Quadratic programming is a mathematical optimization problem that seeks to minimize or maximize a quadratic function subject to linear constraints on the variables. It can be formulated by assuming x represents variables and finding values of x that minimize a quadratic function subject to linear inequality and equality constraints. There are many solver codes and packages available to solve quadratic programming problems, including commercial solvers like CPLEX and open source options like QPOPT.