gtsam 4.2
gtsam
Loading...
Searching...
No Matches
QPSParser.h
Go to the documentation of this file.
1/* ----------------------------------------------------------------------------
2
3 * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4 * Atlanta, Georgia 30332-0415
5 * All Rights Reserved
6 * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7
8 * See LICENSE for the license information
9
10 * -------------------------------------------------------------------------- */
11
18
19#pragma once
20
22#include <fstream>
23
24namespace gtsam {
25
26class QPSParser {
27
28private:
29 std::string fileName_;
30 struct MPSGrammar;
31public:
32
33 QPSParser(const std::string& fileName) :
34 fileName_(findExampleDataFile(fileName)) {
35 }
36
37 QP Parse();
38};
39}
40
Factor graphs of a Quadratic Programming problem.
Global functions in a separate testing namespace.
Definition chartTesting.h:28
string findExampleDataFile(const string &name)
Find the full path to an example dataset distributed with gtsam.
Definition dataset.cpp:62
Struct contains factor graphs of a Quadratic Programming problem.
Definition QP.h:31