14 template <
class M>
struct Plex
16 static bool less (
const M &,
const M &);
22 int n1 = m1.Lvar(), n2 =m2.Lvar();
25 if(n1 <0 && n2>0)
return true;
26 if(n2 <0 && n1>0)
return false;
28 while( m1.GetDegree(i) == m2.GetDegree(i) && i>=0) i--;
32 return (m1.GetDegree(i)< m2.GetDegree(i));
bool operator()(const M &, const M &)
Definition: Plex.hpp:36
#define max(a, b)
Definition: alp_f2c.H:167
static bool less(const M &, const M &)
Definition: Plex.hpp:21
MSKint32t MSKint32t MSKint32t i
Definition: mosek.h:2278