-
Notifications
You must be signed in to change notification settings - Fork 0
/
trame.html
executable file
·217 lines (169 loc) · 9.25 KB
/
trame.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Transportation Methods for Econometrics">
<meta name="author" content="Keith O'Hara">
<meta name="keywords" content="Economics, PhD student, NYU, New York University, Econometrics, R, C++, Cpp, Research" />
<link rel="shortcut icon" type="image/x-icon" href="trame_icon.ico">
<title>Transportation Methods for Econometrics (TraME)</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/modern-business.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Additional Settings -->
<link href="css/yuxuan_settings.css" rel="stylesheet">
<!-- Syntax Highlighter -->
<script type="text/javascript" src="js/syntaxhighlighter.js"></script>
<link type="text/css" rel="stylesheet" href="css/swift_theme.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-93902857-1', 'auto');
ga('send', 'pageview');
</script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="js/jquery.js"></script>
<script>
$(function(){
$("#mynavbar").load("navbar.html")
$("#myfooter").load("footer.html")
});
</script>
</head>
<body>
<!-- Navigation -->
<div id="mynavbar"></div>
<!-- Page Content -->
<div class="container">
<!-- Page Heading/Breadcrumbs -->
<div class="row">
<div class="col-lg-12">
<ol class="breadcrumb">
<li><a href="https://www.kthohr.com">Home</a></li>
<li class="active">TraME</li>
<li><a href="trame-rcpp.html">TraME-Rcpp</a></li>
</ol>
</div>
</div>
<!-- /.row -->
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-2 hidden-xs hidden-sm">
<!-- <img class="img-responsive" src="pics/wsp_2.jpg" alt=""> -->
<a href="https://en.wikipedia.org/wiki/Gaspard_Monge" target="_blank"><img src="pics/trame_monge.png" class="img-responsive center-block" alt="" width="150" height="150"></a>
</div>
<div class="col-md-6">
<br>
<h3 style="text-align: center;"><strong style="font-size: 130%;"><u>Transportation Methods for Econometrics</u></strong></h3>
<p style="text-align: center;"><a href="https://travis-ci.org/TraME-Project/TraME" target="_blank"><img src="https://travis-ci.org/TraME-Project/TraME.svg?branch=master" alt="TraME Build"></a>
<a href="https://codecov.io/github/TraME-Project/TraME?branch=master" target="_blank"><img src="https://codecov.io/github/TraME-Project/TraME/coverage.svg?branch=master" alt="Coverage Status"></a></p>
<p style="text-align: center;"><a class="github-button" href="https://github.com/TraME-Project/TraME/subscription" data-icon="octicon-eye" data-show-count="true" aria-label="Watch TraME-Project/TraME on GitHub">Watch</a>
<a class="github-button" href="https://github.com/TraME-Project/TraME" data-icon="octicon-star" data-show-count="true" aria-label="Star TraME-Project/TraME on GitHub">Star</a>
<a class="github-button" href="https://github.com/TraME-Project/TraME/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork TraME-Project/TraME on GitHub">Fork</a></p>
</div>
<div class="col-md-2 hidden-xs hidden-sm">
<a href="https://en.wikipedia.org/wiki/Leonid_Kantorovich" target="_blank"><img src="pics/trame_kantorovich.png" class="img-responsive center-block" alt="" width="150" height="150"></a>
</div>
</div>
<br>
<!-- -->
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
<p>TraME (<b><i>Tra</i></b>nsportation <b><i>M</i></b>ethods for <b><i>E</i></b>conometrics) is a templated C++ library for solving problems of equilibrium computation and estimation in consumer demand and matching frameworks via the Mass Transportation Approach.</p>
<hr>
<b>Features</b>
<br>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="text-align: left; vertical-align: top; width: 50%;">
<ul>
<li>Flexible, templated C++11 library</li>
<li>Built on the <a href="http://arma.sourceforge.net" target="_blank">Armadillo C++ linear algebra library</a></li>
<li>Nonlinear optimization using <a href="optimlib.html" target="_blank">OptimLib</a></li>
<li>Can link with <a href="http://www.gurobi.com/" target="_blank">Gurobi</a> or <a href="https://www.gnu.org/software/glpk/" target="_blank">GLPK</a></li>
<li>R interface: <a href="trame-rcpp.html">TraME-Rcpp</a></li>
</ul>
</td>
<td>
</td>
<td class="line" style="vertical-align: top;">
<br>
</td>
<td style="text-align: left; vertical-align: top; width: 50%;">
<ul>
<li>Several popular random utility specifications,
as well as models with transferable, non-transferable, and imperfectly transferable utility</li>
<li>Numerous equilibrium solvers, including the iterative proportional fitting procedure (IPFP) and the deferred acceptance algorithm
<li>Maximum likelihood- and moment matching-based estimation</li>
</ul>
</td>
</tr>
</tbody>
</table>
<br>
<p><strong>Authors</strong>:</p>
<ul>
<li>TraME Team: <a href="http://alfredgalichon.com/" target="_blank">Alfred Galichon</a> and <a href="https://www.kthohr.com" target="_blank">Keith O'Hara</a>
<li>Contributors: Yifei Sun, <a href="https://sites.google.com/site/webersimonsite/home" target="_blank">Simon Weber</a></li>
</ul>
<p><a href="https://raw.githubusercontent.com/TraME-Project/TraME/master/LICENSE" target="_blank"><img src="https://img.shields.io/badge/Licence-GPL%20v2-blue.svg" alt="License"></a></p>
<hr style="height:2px;border-width:0;background-color:black">
<h3 style="text-align: left;"><strong style="font-size: 95%;">Download and Installation</strong></h3>
<ul>
<li>The source code is available on <a href="https://github.com/TraME-Project/TraME" target="_blank">GitHub</a>.</li>
<li>To use the linear programming features TraME requires an installation of Gurobi or GLPK.</li>
<!-- <li><strong>Note:</strong> Gurobi performs significantly better than GLPK.</li> -->
</ul>
<p>The library can be installed on Unix-alike systems via the standard <code>./configure && make</code> method:</p>
<pre class="brush: bash;">
# clone TraME into the current directory
git clone https://github.com/TraME-Project/TraME ./trame
# build and install
cd ./trame
./configure -i "/usr/local" -p
make
make install</pre>
<p>The last line will install TraME to <samp>/usr/local</samp>.</p>
<p>Configuration options: (see <code>./configure -h</code>)</p>
<ul>
<strong>Primary</strong>
<li><code>-h</code> print help</li>
<li><code>-i</code> install path; default: the build directory</li>
<li><code>-l</code> specify a linear programming library to use;
<br>         for example <code>-l glpk</code> or <code>-l gurobi</code></li>
<li><code>-m</code> specify the BLAS and Lapack libraries to link against;
<br>         examples: <code>-m "-lopenblas"</code> or <code>-m "-framework Accelerate"</code></li>
<li><code>-o</code> compiler optimization options;
<br>         default: <code>-O3 -march=native -ffp-contract=fast -flto -DARMA_NO_DEBUG</code>
<li><code>-p</code> enable OpenMP parallelization features (recommended)</li>
<strong>Secondary</strong>
<li><code>-c</code> a coverage build (used with Codecov)</li>
<li><code>-d</code> a 'development' build</li>
<li><code>-g</code> a debugging build (optimization flags set to <code>-O0 -g</code>)</li>
</ul>
<hr>
<h4 style="text-align: left;"><strong style="font-size: 95%;">Armadillo</strong></h3>
TraME is built on the Armadillo C++ linear algebra library. The <code>configure</code> script will search for Armadillo files in the usual places: <code>/usr/include</code>, <code>/usr/local/include</code>, <code>/opt/include</code>, <code>/opt/local/include</code>. If the Armadillo header files are installed elsewhere, set the following environment variable <strong>before</strong> running <code>configure</code>:
<pre class="brush: bash;">
export ARMA_INCLUDE_PATH=/path/to/armadillo</pre>
Otherwise the build script will download the required files from the Armadillo GitLab repository.
</div>
</div>
</div>
<div id="myfooter"></div>
<!-- jQuery -->
<!--<script src="js/jquery.js"></script>-->
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>