\documentclass[12pt]{book}

\usepackage{fullpage}
%\usepackage{secdot}
\usepackage[authoryear]{natbib}
\usepackage{listings}
\usepackage{url}
\usepackage{fancyhdr}
%\usepackage{fancyvrb}
\usepackage{hyperref}
\usepackage[usenames]{color}

\usepackage{amsmath}

\bibpunct{[}{]}{,}{n}{}{}

\usepackage{graphicx}
% \usepackage{luximono}
% \usepackage{helvet}
% \usepackage{courier}
% \usepackage{makeidx}
% \usepackage{multicol}
% \usepackage{mathptmx}
% \usepackage{type1cm}
% \usepackage[bottom]{footmisc}
% \usepackage{footmisc}
% \usepackage{amsfonts,amsmath,graphicx,subfigure}

\definecolor{light-gray}{gray}{0.9}

\lstset{
  language=python,
  aboveskip=1em,
  belowskip=1em,
  backgroundcolor=\color{light-gray},   % box background color
  columns=fullflexible,           % fullflexible makes code copy and pasteable
  basicstyle=\ttfamily,           % style of fonts inside listings: tt = mono
  % numbers=left,                   % where to put the line-numbers
  numberstyle=\footnotesize,      % line-number font style
  stepnumber=1,                   % number every n lines
  numbersep=5pt,                  % how far the line-numbers are from the code
  % gobble=3,                       % remove readable but indented TeX code
  showspaces=false,               % show visual depiction of spaces?
  showstringspaces=false,         % underline spaces within strings?
  showtabs=false,                 % show tabs within strings?
  frame=single,                   % adds a frame around the code
  tabsize=3,                      % sets default tabsize to 3 spaces
  captionpos=b,                   % sets the caption-position to bottom
  breaklines=true,                % sets automatic line breaking
  breakatwhitespace=true,         % automatic breaks only at whitespaces?
  keywordstyle=\bfseries,         % apply bold to keywords*
}

% * The LaTex mono fonts don't have bold.  We might consider using LuxiMono,
%   but that package is not Free, and has other issues (like currently messing
%   up underscores and periods).  I don't have an immediate solution if we
%   absolutely want to be syntax aware in the documentation.  However, I think
%   that ability to copy and paste from documentation is important, as well as
%   having a monospaced font for code blocks.

\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}

\input{macros}


\begin{document}

% Put your article title in here
\title{Coopr User Manual:\\Getting Started with the Pyomo Modeling Language}

\author{William E.\ Hart\footnote{Sandia National Laboratories, Discrete Math and Complex Systems Department, PO Box 5800, Albuquerque, NM 87185; {\tt wehart@sandia.gov}}
\and
Jean-Paul Watson\footnote{Sandia National Laboratories, Discrete Math and Complex Systems Department, PO Box 5800, Albuquerque, NM 87185; {\tt jwatson@sandia.gov}}
\and
David L.\ Woodruff\footnote{Graduate School of Management, University of California at Davis,
Davis, CA 95616-8609; {\tt dlwoodruff@ucdavis.edu}}
}

\date{\today}

\maketitle

\if 0
\begin{abstract}
We describe Pyomo, an open-source tool for modeling optimization applications in Python. Pyomo can be used to define abstract problems, create concrete problem instances, and solve these instances with standard solvers. Pyomo provides a capability that is commonly associated with algebraic modeling languages like AMPL and GAMS.  Pyomo leverages the capabilities of the Coopr software, which integrates Python packages for defining optimizers, modeling optimization applications, and managing computational experiments.
\end{abstract}

\noindent {\it Key words:} python; modeling language; optimization; open source software
\fi

\tableofcontents

\input{pyomo-intro}

\input{pyomo-overview}

\input{pyomo-ref}

\input{pyomo-data}


\section*{Acknowledgements}

Sandia is a multiprogram laboratory
operated by Sandia Corporation, a Lockheed Martin Company, for the United
States Department of Energy's National Nuclear Security Administration
under Contract DE-AC04-94-AL85000.


\bibliographystyle{siam}
\bibliography{coopr}

\end{document}
