Go to the documentation of this file.
Implementation of a hash table.
Array coefs
Coefficients of the variables.
SProb * Prob
Problem definition.
int op
Operator of the expression.
int setOpRHS(Prob prob, int op, double rhs)
Adds the relational operator and the right-hand side to a condition.
int addCoefTail(Prob prob, const char *varid, int varc, double coef)
Adds the coefficient of a variable.
Implementation of a dynamic array.
SExp * Exp
Expression definition.
Prob newProb()
Creates a problem.
Implementation of a linked list.
int addCoefHead(Prob prob, const char *varid, int varc, double coef)
Adds a new condition to the problem, and adds the coefficients of a variable.
HashMap pos
Variables and their indexes.
List exps
List of expressions (objective function, and conditions).
Exp newExp(int arraysize)
Creates an expression.
int varhash(const char *varid)
Hash function for variables names.
Array invpos
Variables on each index.
double rhs
Right-hand side of the expression.
RLP © 2006, 2009, 2015
Rui Carlos Gonçalves