CTAN 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.

Bug trackerhttps://github.com/jes­lago/op­tidef/is­sues
Ver­sion3.1 2019-04-23
Li­censesThe Project Public Li­cense 1.3
Copy­right2016–2018 Je­sus Lago Gar­cia
Main­tainerJe­sus Lago Gar­cia
Con­tained inTeX Live as op­tidef
MiKTeX as op­tidef

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

Com­mu­nity Com­ments



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


Pack­age Links

Guest Book Sitemap Contact Contact Author