Class to define ABS2 callback function for factorization.
More...
Class to define ABS2 callback function for factorization.
Definition at line 17 of file tsp_abs2.cpp.
◆ ABS2Callback()
Construct a new ABS2 callback object.
- Parameters
-
tsp_quad_model | The TSP QuadModel. |
Definition at line 24 of file tsp_abs2.cpp.
◆ callback()
void ABS2Callback::callback |
( |
const std::string & |
event | ) |
|
|
inlineoverridevirtual |
◆ set() [1/3]
void abs2::Callback::set |
( |
const std::string & |
operation | ) |
|
|
inherited |
Set the operation to the ABS2 Callback.
- Parameters
-
operation | Operation string |
Set the operation to the ABS2 Callback.
◆ set() [2/3]
void abs2::Callback::set |
( |
const std::string & |
operation, |
|
|
const std::string & |
operand |
|
) |
| |
|
inherited |
Set the operation and operand to the ABS2 Callback.
- Parameters
-
operation | Operation string |
operand | Operand string |
Set the operation and operand to the ABS2 Callback.
◆ set() [3/3]
void abs2::Callback::set |
( |
const Sol & |
hint | ) |
|
|
inherited |
Provide a hint solution to the ABS2 solver.
- Parameters
-
Provide a hint solution will be used by the ABS2 solver to improve the solution.
◆ get()
const Sol& abs2::Callback::get |
( |
| ) |
const |
|
inherited |
Get the current solution.
◆ tsp_quad_model
◆ quad_model
const QuadModel qbpp_abs2::Callback::quad_model |
|
protectedinherited |
QuadModel object created by QUBO++ library.
Definition at line 207 of file qbpp_abs2.hpp.
◆ pimpl
std::shared_ptr<Impl> abs2::Callback::pimpl |
|
privateinherited |
The documentation for this class was generated from the following file: