more debug3

This commit is contained in:
Stuart Mitchell
2015-03-16 23:47:28 +13:00
parent be59e95c68
commit 9bc0162dc0

View File

@@ -1466,9 +1466,10 @@ class PULP_CBC_CMD(COIN_CMD):
This solver uses a precompiled version of cbc provided with the package
"""
pulp_cbc_path = pulp_cbc_path
print(pulp_cbc_path)
print('in PULP_CBC_CMD ', pulp_cbc_path)
try:
if os.name != 'nt':
print('os.access(pulp_cbc_path, os.X_OK) ', os.access(pulp_cbc_path, os.X_OK))
if not os.access(pulp_cbc_path, os.X_OK):
import stat
os.chmod(pulp_cbc_path, stat.S_IXUSR + stat.S_IXOTH)