1diff --git a/examples/extract_features_mip.py b/examples/extract_features_mip.py
2index cdc109f..90e79fa 100644
3--- a/examples/extract_features_mip.py
4+++ b/examples/extract_features_mip.py
5@@ -9,9 +9,7 @@ import mip
6 lp_path = ""
7
8 # using test data, replace with your instance
9-lp_path = mip.__file__.replace("mip/__init__.py", "test/data/1443_0-9.lp").replace(
10- "mip\\__init__.py", "test\\data\\1443_0-9.lp"
11-)
12+lp_path = "test/data/1443_0-9.lp"
13
14 m = Model()
15 if m.solver_name.upper() in ["GRB", "GUROBI"]:
16diff --git a/examples/gen_cuts_mip.py b/examples/gen_cuts_mip.py
17index f71edae..2799734 100644
18--- a/examples/gen_cuts_mip.py
19+++ b/examples/gen_cuts_mip.py
20@@ -11,9 +11,7 @@ import mip
21 lp_path = ""
22
23 # using test data
24-lp_path = mip.__file__.replace("mip/__init__.py", "test/data/1443_0-9.lp").replace(
25- "mip\\__init__.py", "test\\data\\1443_0-9.lp"
26-)
27+lp_path = "test/data/1443_0-9.lp"
28
29 m = Model()
30 if m.solver_name.upper() in ["GRB", "GUROBI"]: