Comprehensive TeX Archive Network

optidef – Environments for writing optimization problems

This small li­brary pro­vides a stan­dard set of en­vi­ron­ments for writ­ing op­ti­miza­tion prob­lems.

It au­to­mat­i­cally aligns the prob­lems in three points with an op­tional fourth:

  • Begin­ning of the words “min­i­mize/argmin” and “sub­ject to”
  • The ob­jec­tive func­tion and the longest left hand side of the con­straints
  • The $= | > | <$ signs of the con­straints.
  • Op­tion­ally, the user can add man­u­ally a dou­ble align char­ac­ter && to align some com­mon con­straints fea­ture. A clear ex­am­ple could be the con­straints names, e.g. (bound­ary con­straint) align­ment with (dy­namic con­straint).

Fur­ther­more, it pro­vides an easy in­ter­face to de­fine op­ti­miza­tion prob­lem for three dif­fer­ent ref­er­ence sit­u­a­tions:

  • Where no equa­tion is ref­er­enced/num­bered.
  • Where the prob­lem is ref­er­enced with a sin­gle num­ber.
  • Where each equa­tion has an in­di­vid­ual ref­er­ence.

Fi­nally, it also al­lows a def­i­ni­tion of any op­ti­miza­tion prob­lem with­out a lim­it­less num­ber of con­straints.

Sources /macros/latex/contrib/optidef
Bug tracker https://github.com/jes­lago/op­tidef/is­sues
Re­pos­i­tory https://github.com/jes­lago/op­tidef
Ver­sion 2.5 2017-06-21
Li­cense The Project Public Li­cense 1.3
Main­tainer Je­sus Lago Gar­cia
Con­tained in TeX Live as op­tidef
MiKTeX as op­tidef
Topics sup­port for type­set­ting math­e­mat­ics

Down­load the con­tents of this pack­age in one zip archive (283.9k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author