Codes of optimization examples used in classes in language such as AMPL, GAMS, and R.