#define _SURF_MAXMIN_H
#include "xbt/misc.h"
-
+#include "portable.h"
static XBT_INLINE void double_update(double *variable, double value)
{
*variable -= value;
void lmm_elem_set_value(lmm_system_t sys, lmm_constraint_t cnst,
lmm_variable_t var, double value);
-lmm_constraint_t) lmm_get_cnst_from_var(lmm_system_t sys,
+lmm_constraint_t lmm_get_cnst_from_var(lmm_system_t sys,
lmm_variable_t var, int num);
int lmm_get_number_of_cnst_from_var(lmm_system_t sys, lmm_variable_t var);
lmm_variable_t lmm_get_var_from_cnst(lmm_system_t sys,
int lmm_constraint_used(lmm_system_t sys, lmm_constraint_t cnst);
void lmm_solve(lmm_system_t sys);
+#ifdef HAVE_SDP
void sdp_solve(lmm_system_t sys);
+#endif /* HAVE_SDP */
+
#endif /* _SURF_MAXMIN_H */