35 #include <Constraints.hpp> 123 if ( ( _number < 0 ) || ( _number >=
getNC( ) ) )
161 for( i=0; i<
nC; ++i )
171 for( i=0; i<
nC; ++i )
181 for( i=0; i<
nC; ++i )
191 for( i=0; i<
nC; ++i )
210 if ( ( _number < 0 ) || ( _number >=
getNC( ) ) )
231 if ( ( _number < 0 ) || ( _number >=
getNC( ) ) )
Constraints & operator=(const Constraints &rhs)
Manages working sets of constraints.
SubjectTo & operator=(const SubjectTo &rhs)
returnValue moveInactiveToActive(int _number, SubjectToStatus _status)
Allows to pass back messages to the calling function.
Base class for managing working sets of bounds and constraints.
#define THROWERROR(retval)
Indexlist * getInactive()
returnValue setupAllInactive()
returnValue addIndex(Indexlist *const indexlist, int newnumber, SubjectToStatus newstatus)
returnValue setupConstraint(int _number, SubjectToStatus _status)
returnValue removeIndex(Indexlist *const indexlist, int removenumber)
void rhs(const real_t *x, real_t *f)
SubjectToType getType(int i) const
returnValue moveActiveToInactive(int _number)