Column.Column()
Constructor of column.
Synopsis
Column()
Column.addColumn()
Add a column to self.
Synopsis
void addColumn(Column col, double mult)
Arguments
col
: column object to be added.
mult
: multiply constant.
Column.addColumn()
Add a column to self.
Synopsis
void addColumn(Column col)
Arguments
col
: column object to be added.
Column.addTerm()
Add a term to column object.
Synopsis
void addTerm(Constraint constr, double coeff)
Arguments
constr
: a constraint for new term.
coeff
: coefficient for new term.
Column.addTerms()
Add terms to column object.
Synopsis
void addTerms(Constraint[] constrs, double coeff)
Arguments
constrs
: constraints for added terms.
coeff
: coefficient for added terms.
Column.addTerms()
Add terms to column object.
Synopsis
void addTerms(Constraint[] constrs, double[] coeffs)
Arguments
constrs
: constraints for added terms.
coeffs
: coefficients for added terms.
Column.addTerms()
Add terms to column object.
Synopsis
void addTerms(ConstrArray constrs, double coeff)
Arguments
constrs
: constraints for added terms.
coeff
: coefficient for added terms.
Column.addTerms()
Add terms to column object.
Synopsis
void addTerms(ConstrArray constrs, double[] coeffs)
Arguments
constrs
: constraints for added terms.
coeffs
: coefficients for added terms.
Column.clear()
Clear all terms.
Synopsis
void clear()
Column.clone()
Deep copy column object.
Synopsis
Column clone()
Return
cloned column object.
Column.getCoeff()
Get coefficient from the i-th term in column object.
Synopsis
double getCoeff(int i)
Arguments
i
: index of the term.Return
coefficient of the i-th term in column object.
Column.getConstr()
Get constraint from the i-th term in column object.
Synopsis
Constraint getConstr(int i)
Arguments
i
: index of the term.Return
constraint of the i-th term in column object.
Column.remove()
Remove i-th term from column object.
Synopsis
void remove(int idx)
Arguments
idx
: index of the term to be removed.
Column.remove()
Remove the term associated with constraint from column object.
Synopsis
void remove(Constraint constr)
Arguments
constr
: a constraint whose term should be removed.
Column.size()
Get number of terms in column object.
Synopsis
int size()
Return
number of terms.