%%% Do not change from BEGIN to END
%%% BEGIN
\documentclass[a4paper,10pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[danish,english]{babel}
\usepackage{graphicx}
\usepackage[a4paper,margin=3cm]{geometry}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{enumerate}

\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,matrix}


\setlength{\parindent}{0pt}
\setlength{\parskip}{2ex} 

\renewcommand{\thesection}{Task \arabic{section}}
\renewcommand{\thesubsection}{Subtask \arabic{section}.\alph{subsection}}

%%% Settings for the Instructor
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\coursename}{Linear and Integer Programming}
\newcommand{\term}{Spring 2015}
\newcommand{\dept}{Department of Mathematics and Computer Science}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{fancyhdr}
\usepackage{lastpage}

\pagestyle{fancy} 
\lhead{{\sc \courseid -- \term }} 
\chead{}
\rhead{Ex.~nr.~\exnr}
\cfoot{Page \thepage\ of \pageref{LastPage}}

\fancypagestyle{plain}{
\lhead{\dept\\
University of Southern Denmark, Odense}
\chead{}
\rhead{\today\\
Ex.~nr.~\exnr}
\lfoot{}
\rfoot{}
%\renewcommand{\headrulewidth}{0pt}
}


\title{\begin{flushleft}
\vspace{-4ex}
\courseid~-- \coursename \\[0.2cm]
{\Large Answers to the Written Exam, \term \\[3ex]
\hrule}
\end{flushleft}
}

\author{}
\date{}

%%% END

%%% Settings for the Student
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\courseid}{DM545-OR-DM554} % WRITE WHICH
\newcommand{\exnr}{WRITE-HERE-YOUR-EXAM-NR}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}
\maketitle


\section{} 

\subsection{}

Your reply to Subtask 1a. Always insert a \verb=\newpage= after every
subtask.

Template for figure inclusion:

\begin{figure}[htb]
\begin{center}
%% uncomment the line below and change the figure file. 
%  \includegraphics[width=0.8\textwidth]{ex1}
\end{center}
\end{figure}


\newpage

\section{}

Your reply to Task 2




\end{document}
          



