67#ifndef OR_TOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_
68#define OR_TOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_
90 return k <= num_cstrs ? glp_get_row_stat(problem, k)
91 : glp_get_col_stat(problem, k - num_cstrs);
99 const int num_cstrs,
const int k) {
100 return k <= num_cstrs ? glp_get_row_dual(problem, k)
101 : glp_get_col_dual(problem, k - num_cstrs);
109 const int num_cstrs,
const int k) {
110 return k <= num_cstrs ? glp_get_row_prim(problem, k)
111 : glp_get_col_prim(problem, k - num_cstrs);
119 const int num_cstrs,
const int k) {
120 return k <= num_cstrs ? glp_get_row_lb(problem, k)
121 : glp_get_col_lb(problem, k - num_cstrs);
129 const int num_cstrs,
const int k) {
130 return k <= num_cstrs ? glp_get_row_ub(problem, k)
131 : glp_get_col_ub(problem, k - num_cstrs);
In SWIG mode, we don't want anything besides these top-level includes.
double ComputeFormVarPrimalValue(glp_prob *const problem, const int num_cstrs, const int k)
int ComputeFormVarStatus(glp_prob *const problem, const int num_cstrs, const int k)
double ComputeFormVarReducedCost(glp_prob *const problem, const int num_cstrs, const int k)
double ComputeFormVarLowerBound(glp_prob *const problem, const int num_cstrs, const int k)
double ComputeFormVarUpperBound(glp_prob *const problem, const int num_cstrs, const int k)