Skip to content

Commit acca0d3

Browse files
dependencies
1 parent 9b0cfbe commit acca0d3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ dependencies:
77
- compas >=2.13
88
- compas_occ >=1.3
99
- cvxpy
10-
- cyipopt
10+
# - cyipopt
1111
- pip:
1212
- -e .

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ compas
22
compas_ags
33
compas_tna
44
matplotlib
5+
cvxpy

src/compas_tno/solvers/ipopt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
try:
55
import cyipopt
6+
67
HAS_IPOPT = True
7-
except:
8+
except ImportError:
89
HAS_IPOPT = False
910

1011
if TYPE_CHECKING:

0 commit comments

Comments
 (0)