gtsam
Loading...
Searching...
No Matches
QPSolver.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
20#pragma once
21
22#include <gtsam/config.h>
23
24#ifdef GTSAM_ALLOW_DEPRECATED_SINCE_V43
25
27#include <gtsam_unstable/dllexport.h>
31
32#include <utility>
33
34namespace gtsam {
35
42class GTSAM_UNSTABLE_EXPORT QPSolver {
43 public:
45 explicit QPSolver(const QP& qp);
46
48 std::pair<VectorValues, VectorValues> optimize(
49 const VectorValues& initialValues,
50 const VectorValues& duals = VectorValues(),
51 bool useWarmStart = false) const;
52
54 std::pair<VectorValues, VectorValues> optimize() const;
55
56 private:
57 const QP& qp_;
58};
59
60} // namespace gtsam
61
62#endif // GTSAM_ALLOW_DEPRECATED_SINCE_V43
Factor Graph Values.
Throw when the problem is either infeasible or unbounded.
Exception thrown when given Infeasible Initial Values.
Factor graphs of a Quadratic Programming problem.
Global functions in a separate testing namespace.
Definition chartTesting.h:28
Point3 optimize(const NonlinearFactorGraph &graph, const Values &values, Key landmarkKey)
Optimize for triangulation.
Definition triangulation.cpp:178