NonnegativeSumConstraint¶
A constraint projection forcing the given solution to sum to a constant value, with all values being non-negative.
The default choice is also known as the probability simplex, meaning that all elements add up to one while positive or zero. Like all constraint nodes, this is normally used as part of an optimization problem formulation given to a (typically convex) solver node. Version 1.0.0
Ports/Properties¶
data¶
Data to process.
value¶
Value to which the elements of the solution must sum to. The default choice is also known as the probability simplex, meaning that all elements add up to one.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.