Tentatively, one could download the optdefi.sty file and place it in the same folder as your .tex file.
To use the package, just put \usepackage{optdefi} in the preamble of your .tex file.
Environments optim and optim* are used in order to define an optimization problem with and without numbers, respectively.
The following commands are used within the optim and optim* environments.
\setObjis the first command to use. It defines the sense, variables and objective function.\addEqConsto add an equality constraint.\addIneqConsto add a less-then inequality constraint.\addInclConsto add an inclusion constraint.\addLbConsto add a lower-bound constraint, or a greater-than inequality constraint.
Please refer to the sample.tex file included in the repository.