Returns True if all the arguments in the problem support cpp backend.
(self)
| 307 | |
| 308 | @perf.compute_once |
| 309 | def _supports_cpp(self) -> bool: |
| 310 | """ |
| 311 | Returns True if all the arguments in the problem support cpp backend. |
| 312 | """ |
| 313 | return all(expr._all_support_cpp() for expr in self.constraints + [self.objective.expr]) |
| 314 | |
| 315 | @perf.compute_once |
| 316 | def is_dgp(self, dpp: bool = False) -> bool: |