| ... | ... |
@@ -1604,7 +1604,7 @@ |
| 1604 | 1604 |
/// |
| 1605 | 1605 |
inline LpBase::Constr operator<=(const LpBase::Expr &e, |
| 1606 | 1606 |
const LpBase::Expr &f) {
|
| 1607 |
return LpBase::Constr(0, f - e, LpBase:: |
|
| 1607 |
return LpBase::Constr(0, f - e, LpBase::NaN); |
|
| 1608 | 1608 |
} |
| 1609 | 1609 |
|
| 1610 | 1610 |
///Create constraint |
| ... | ... |
@@ -1622,7 +1622,7 @@ |
| 1622 | 1622 |
/// |
| 1623 | 1623 |
inline LpBase::Constr operator<=(const LpBase::Expr &e, |
| 1624 | 1624 |
const LpBase::Value &f) {
|
| 1625 |
return LpBase::Constr( |
|
| 1625 |
return LpBase::Constr(LpBase::NaN, e, f); |
|
| 1626 | 1626 |
} |
| 1627 | 1627 |
|
| 1628 | 1628 |
///Create constraint |
| ... | ... |
@@ -1631,7 +1631,7 @@ |
| 1631 | 1631 |
/// |
| 1632 | 1632 |
inline LpBase::Constr operator>=(const LpBase::Expr &e, |
| 1633 | 1633 |
const LpBase::Expr &f) {
|
| 1634 |
return LpBase::Constr(0, e - f, LpBase:: |
|
| 1634 |
return LpBase::Constr(0, e - f, LpBase::NaN); |
|
| 1635 | 1635 |
} |
| 1636 | 1636 |
|
| 1637 | 1637 |
|
| ... | ... |
@@ -1651,7 +1651,7 @@ |
| 1651 | 1651 |
/// |
| 1652 | 1652 |
inline LpBase::Constr operator>=(const LpBase::Expr &e, |
| 1653 | 1653 |
const LpBase::Value &f) {
|
| 1654 |
return LpBase::Constr(f, e, LpBase:: |
|
| 1654 |
return LpBase::Constr(f, e, LpBase::NaN); |
|
| 1655 | 1655 |
} |
| 1656 | 1656 |
|
| 1657 | 1657 |
///Create constraint |
0 comments (0 inline)