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.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,default value is 1.
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,default value is 1.
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 idx-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.