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 
19 #pragma once
20 
21 #include <gtsam_unstable/dllexport.h>
23 #include <fstream>
24 
25 namespace gtsam {
26 
27 class GTSAM_UNSTABLE_EXPORT QPSParser {
28 
29 private:
30  std::string fileName_;
31  struct MPSGrammar;
32 public:
33 
34  QPSParser(const std::string& fileName) :
35  fileName_(findExampleDataFile(fileName)) {
36  }
37 
38  QP Parse();
39 };
40 }
41 
gtsam::QPSParser
Definition: QPSParser.h:27
gtsam::QPSParser::MPSGrammar
Definition: QPSParser.cpp:411
gtsam::QP
Definition: QP.h:31
gtsam
traits
Definition: chartTesting.h:28
QP.h
Factor graphs of a Quadratic Programming problem.
gtsam::findExampleDataFile
GTSAM_EXPORT std::string findExampleDataFile(const std::string &name)
Definition: dataset.cpp:70
gtsam::QPSParser::QPSParser
QPSParser(const std::string &fileName)
Definition: QPSParser.h:34
gtsam::QPSParser::fileName_
std::string fileName_
Definition: QPSParser.h:30


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:02:25