Solution

class bnbpy.cython.solution.Solution

Bases: object

Solution representation class.

Be careful if subclassing for it is returned using the concrete implementation in the method child_copy of the Problem class.

copy(deep=True)
cost

Upper bound of the solution (infinity in case of infeasibility or not being solved)

fathom()
lb

Lower bound of the solution

set_feasible()
set_infeasible()
set_lb(lb)
set_optimal()
status

Optimization status of the solution