Return value of variable in solution.

def _get_value(self, variable):
        """Return value of variable in solution."""
        return swiglpk.glp_get_col_prim(
            self._problem._p, self._problem._variables[variable])