newsgroups-index (beta)

Current group: sci.op-research

Nice OR models in LaTeX

Nice OR models in LaTeX  
bob
 Re: Nice OR models in LaTeX  
Paul A. Rubin
 Re: Nice OR models in LaTeX  
A.L.
From:bob
Subject:Nice OR models in LaTeX
Date:20 Jan 2005 04:20:57 -0800
Hello!

I have played around with Latex a lot but still my model write-ups
don't come out as nicely as in the books...

I want to typeset a large list of constraints, equalities,
inequalities etc. with the "for all"s next to it and maybe even a
constraint number behind it at the right border of the page. The
formulas are sometimes longer than a line and thus must be broken.
Also I want to have a nice list of all the parameters and variables
explaining what everything is right below the model.

I have dug deep in the net but didn't find something special for these
kind of OR models.

Has anybody managed to do something like this nicely? Could you please
point me to some example Latex code?

Thanks a thousand times!
Bob
From:Paul A. Rubin
Subject:Re: Nice OR models in LaTeX
Date:Thu, 20 Jan 2005 10:48:08 -0500
bob wrote:
> Hello!
>
> I have played around with Latex a lot but still my model write-ups
> don't come out as nicely as in the books...
>
> I want to typeset a large list of constraints, equalities,
> inequalities etc. with the "for all"s next to it and maybe even a
> constraint number behind it at the right border of the page. The
> formulas are sometimes longer than a line and thus must be broken.
> Also I want to have a nice list of all the parameters and variables
> explaining what everything is right below the model.
>
> I have dug deep in the net but didn't find something special for these
> kind of OR models.
>
> Has anybody managed to do something like this nicely? Could you please
> point me to some example Latex code?
>
> Thanks a thousand times!
> Bob

When I'm writing an optimization model, I typically use an array
environment: \min, \mathrm{s.t.} etc. in the first column; body of
objective/constraint in second column; \le, =, \ge in the third column;
index ranges, \forall etc. in fourth column. For the list of symbols, I
think there's a definition environment that might work.

You might have better luck getting LaTeX help from the comp.text.tex
newsgroup.

-- Paul

******************************************************************************************
Paul A. Rubin Phone:
(517) 432-3509
Department of Management Fax: (517)
432-1111
The Eli Broad Graduate School of Management E-mail: rubin@msu.edu
Michigan State University
http://www.msu.edu/~rubin/
East Lansing, MI 48824-1122 (USA)
******************************************************************************************
Mathematicians are like Frenchmen: whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different. J. W. v. GOETHE
From:A.L.
Subject:Re: Nice OR models in LaTeX
Date:Thu, 20 Jan 2005 07:23:57 -0600
On 20 Jan 2005 04:20:57 -0800, frotty22@yahoo.com (bob) wrote:

>Hello!
>
>I have played around with Latex a lot but still my model write-ups
>don't come out as nicely as in the books...
>
>I want to typeset a large list of constraints, equalities,
>inequalities etc. with the "for all"s next to it and maybe even a
>constraint number behind it at the right border of the page. The
>formulas are sometimes longer than a line and thus must be broken.
>Also I want to have a nice list of all the parameters and variables
>explaining what everything is right below the model.
>
>I have dug deep in the net but didn't find something special for these
>kind of OR models.

I don't think that "something special" is needed. Latex is good
enough to do what you want. Use AMS-Latex if formulas are more
complicated.

A.L.
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum