proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1
3#pragma once
4
5#include "proxsuite-nlp/config.hpp"
6
7#include <string>
8#include <sstream>
9
10namespace proxsuite {
11namespace nlp {
15inline std::string printVersion(const std::string &delimiter = ".") {
16 std::ostringstream oss;
17 oss << PROXSUITE_NLP_MAJOR_VERSION << delimiter << PROXSUITE_NLP_MINOR_VERSION
18 << delimiter << PROXSUITE_NLP_PATCH_VERSION;
19 return oss.str();
20}
21
22} // namespace nlp
23} // namespace proxsuite
std::string printVersion(const std::string &delimiter=".")
Pretty-print the package version number.
Definition version.hpp:15
Main package namespace.
Definition bcl-params.hpp:5