gtsam_unstable
linear
InfeasibleOrUnboundedProblem.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
namespace
gtsam
{
22
23
class
InfeasibleOrUnboundedProblem
:
public
ThreadsafeException
<
24
InfeasibleOrUnboundedProblem> {
25
public
:
26
InfeasibleOrUnboundedProblem
() {
27
}
28
~InfeasibleOrUnboundedProblem
() noexcept
override
{
29
}
30
31
const
char
*
what
() const noexcept
override
{
32
if
(
description_
->empty())
33
description_
=
"The problem is either infeasible or unbounded.\n"
;
34
return
description_
->c_str();
35
}
36
};
37
}
gtsam::InfeasibleOrUnboundedProblem
Definition:
InfeasibleOrUnboundedProblem.h:23
gtsam::ThreadsafeException
Base exception type that uses tbb_allocator if GTSAM is compiled with TBB.
Definition:
ThreadsafeException.h:40
gtsam::InfeasibleOrUnboundedProblem::~InfeasibleOrUnboundedProblem
~InfeasibleOrUnboundedProblem() noexcept override
Definition:
InfeasibleOrUnboundedProblem.h:28
gtsam::ThreadsafeException< InfeasibleOrUnboundedProblem >::description_
std::optional< String > description_
Optional description.
Definition:
ThreadsafeException.h:58
gtsam
traits
Definition:
SFMdata.h:40
gtsam::InfeasibleOrUnboundedProblem::InfeasibleOrUnboundedProblem
InfeasibleOrUnboundedProblem()
Definition:
InfeasibleOrUnboundedProblem.h:26
gtsam::InfeasibleOrUnboundedProblem::what
const char * what() const noexcept override
Definition:
InfeasibleOrUnboundedProblem.h:31
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:32:46