Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \usepackage[utf8]{inputenc}
- \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry}
- \usepackage[table,xcdraw,dvipsnames]{xcolor}
- \usepackage[normalem]{ulem}
- \usepackage[english]{babel} %
- \usepackage{subcaption}
- \useunder{\uline}{\ul}{}
- \usepackage{tikz}
- \usepackage{pdfpages}
- %\usepackage{pgfplots}
- \usepackage{todonotes} %%TODO NOTES!!
- %\usepackage[disable]{todonotes}% Til at skjule alle to do notes
- %\usepackage{blindtext}
- %\renewcommand\thesection{\arabic{section}}
- %\setcounter{secnumdepth}{0} Fjerner sidetal
- \usepackage{amsmath,anyfontsize,fancyhdr,lastpage,amssymb,wrapfig}
- %\usepackage{amsfonts}
- \usepackage{mathtools}
- \usepackage{amsthm}
- \usepackage{mathrsfs}
- \usepackage{bm}
- %\usepackage[square,numbers]{natbib}
- \usepackage{natbib}
- \bibliographystyle{abbrv}
- \usepackage{url}
- \usepackage{amsmath}
- \usepackage{fancyhdr}
- \usepackage{graphicx}
- \usepackage{subcaption}
- \usepackage{placeins}
- \usepackage{csquotes}
- \usepackage{tikz}
- \usetikzlibrary{positioning}
- %\bibliographystyle{abbrvnat}
- %\footnotesize{
- %\bibliography{references}
- %}
- %\usepackage[style=verbose-trad2]{biblatex}
- %\bibliography{references}
- %
- \usepackage{algorithm}
- \usepackage[noend]{algpseudocode}
- \usepackage{enumitem}
- \usepackage{multicol}
- \usepackage{hyperref}
- \usepackage[noabbrev,capitalise]{cleveref}
- \usepackage{algpseudocode}
- \usepackage{program}
- \usepackage{graphicx}
- \usepackage{booktabs}
- \usepackage{lmodern,textcomp}
- \usepackage{adjustbox}
- \usepackage{multirow}
- \usepackage[titletoc]{appendix}
- \renewcommand\appendixtocname{Appendix}
- %\renewcommand{\contentsname}{whatever}
- %\renewcommand{\bibname}{whatever}
- \usepackage{float}
- \graphicspath{{Pics/}}
- \usepackage{rotating}
- \usepackage{pdflscape}
- \usepackage{fancyhdr}
- \usepackage{listings}
- \usepackage{color} %red, green, blue, yellow, cyan, magenta, black, white
- \definecolor{mygreen}{RGB}{28,172,0} % color values Red, Green, Blue
- \definecolor{mylilas}{RGB}{170,55,241}
- \usepackage{lastpage}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %
- % This templates uses the bibliography package natbib.
- %
- % The natbib package has two basic citation commands, \citet and \citep for textual and parenthetical citations,
- % respectively. There also exist the starred versions \citet* and \citep* that print the full author list, and
- % not just the abbreviated one. All of these may take one or two optional arguments to add some text before and after the citation.
- % \citet{jon90} --> Jones et al. (1990)
- % \citet[chap. 2]{jon90} --> Jones et al. (1990, chap. 2)
- % \citep{jon90} --> (Jones et al., 1990)
- % \citep[chap. 2]{jon90} --> (Jones et al., 1990, chap. 2)
- % \citep[see][]{jon90} --> (see Jones et al., 1990)
- % \citep[see][chap. 2]{jon90} --> (see Jones et al., 1990, chap. 2)
- % \citet*{jon90} --> Jones, Baker, and Williams (1990)
- % \citep*{jon90} --> (Jones, Baker, and Williams, 1990)
- %
- % Multiple citations may be made by including more than one citation key in
- % the \cite command argument.
- % \citet{jon90,jam91} --> Jones et al. (1990); James et al. (1991)
- % \citep{jon90,jam91} --> (Jones et al., 1990; James et al. 1991)
- % \citep{jon90,jon91} --> (Jones et al., 1990, 1991)
- % \citep{jon90a,jon90b} --> (Jones et al., 1990a,b)
- %
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \newcommand{\D}{\text{d}}
- \newcommand{\fa}{\forall}
- \newcommand{\E}{\exists}
- \newcommand{\N}{\mathbb{N}}
- \renewcommand{\Q}{\mathbb{Q}}
- \renewcommand{\Z}{\mathbb{Z}}
- \renewcommand{\R}{\mathbb{R}}
- \renewcommand{\C}{\mathbb{C}}
- \newcommand{\F}{\mathtt{F}}
- \renewcommand{\T}{\mathtt{T}}
- \newcommand{\hil}{\mathcal{H}}
- \newcommand{\ds}{\displaystyle}
- \newcommand{\summa}[2]{\sum_{#1}^{#2}}
- \newcommand{\Lra}{\Leftrightarrow}
- \newcommand{\lra}{\leftrightarrow}
- \newcommand{\La}{\Leftarrow}
- \newcommand{\Ra}{\Rightarrow}
- \newcommand{\la}{\leftarrow}
- \newcommand{\ra}{\rightarrow}
- \newcommand{\abs}[1]{\left\lvert #1 \right\rvert}
- \newcommand{\Sin}[1]{\sin\left( #1 \right)}
- \newcommand{\Cos}[1]{\cos\left( #1 \right)}
- \newcommand{\Tan}[1]{\tan\left( #1 \right)}
- \newcommand{\U}{\cup}
- \renewcommand{\A}{\cap}
- \newcommand{\tb}[1]{\textbf{#1}}
- \newcommand{\norm}[1]{\abs{\abs{#1}}}
- \newcommand{\indre}[1]{\left\langle #1\right\rangle}
- \newcommand{\parent}[1]{\left( #1 \right)}
- %\renewcommand{\sum}{\sum\limits_{\substack{#1}}
- \pagestyle{fancy}
- \renewcommand{\baselinestretch}{1.2}
- \setlength{\parindent}{0em}
- \setlength{\parskip}{1em}
- \rhead[empty]{Network Optimization}
- \chead[empty]{}
- \lhead[empty]{Assignment }
- \cfoot{Page \thepage \hspace{1pt} of \pageref{Sidste}}
- \renewcommand*\contentsname{Content}
- \newcommand{\horrule}[1]{\rule{\linewidth}{#1}}
- \usepackage[T1]{fontenc}
- \usepackage{beramono}
- \usepackage{listings}
- \def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;}
- %%
- %% Julia definition (c) 2014 Jubobs
- %%
- \lstdefinelanguage{Julia}%
- {morekeywords={abstract,break,case,catch,const,continue,do,else,elseif,%
- end,export,false,for,function,immutable,import,importall,if,in,%
- macro,module,otherwise,quote,return,switch,true,try,type,typealias,%
- using,while,sum},%
- morekeywords = [2]{@constraint,@objective},
- sensitive=true,%
- alsoother={\$},%
- morecomment=[l]\#,%
- morecomment=[n]{\#=}{=\#},%
- morestring=[s]{"}{"},%
- morestring=[m]{'}{'},%
- }[keywords,comments,strings]%
- \lstset{%
- language = Julia,
- basicstyle = \ttfamily,
- keywordstyle = \bfseries\color{blue},
- keywordstyle = [2]\bfseries\color{purple},
- stringstyle = \color{magenta},
- commentstyle = \color{ForestGreen},
- showstringspaces = false,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement