public void addSparseConstraint ( int component , int index , double value ) { constraints . add ( new Constraint ( component , index , value ) ) ; }
This adds a constraint on the weight vector that a certain component must be set to a sparse index = value