Comments (2)
Many thanks for reporting! This is a bug on our side: when we create CUTEst problem subfolders in the cache folder, we append the parameters (if there are any) to the folder name. Unfortunately, as N/2
is the parameter name for SROSENBR
, we try to create the folder SROSENBR_N/2500
which is not a valid folder name as it contains the special character /
.
Until we fix this, I suggest the following workaround: edit SROSENBR.SIF
in your $MASTSIF
folder so that the parameter you want is the only one that is unstarred (this will make it the default):
* N/2 is half the number of variables
*IE N/2 5 $-PARAMETER n = 10 original value
*IE N/2 25 $-PARAMETER n = 50
*IE N/2 50 $-PARAMETER n = 100
*IE N/2 250 $-PARAMETER n = 500
*IE N/2 500 $-PARAMETER n = 1000
IE N/2 2500 $-PARAMETER n = 5000
*IE N/2 5000 $-PARAMETER n = 10000
For example, in the above N/2=2500 is the default. You can then call pycutest.import_problem('SROSENBR')
and it will compile with the default parameter you just set.
@lindonroberts: any thoughts on how we could fix this? Linux does not allow /
in folder names :(
from pycutest.
When we have parameters, the folder name is based on the problem plus the result of the function params_to_string() in build_interface.py. Modified to drop '/', and replace digits with test.
For example, now SROSENBR with sifParams={'N/2':250} is saved in cache folder "SROSENBR_Ntwo250".
from pycutest.
Related Issues (20)
- An option or function to get all the problems compiled and saved, so that they do not need to be compiled on the fly HOT 8
- I want to specify the dimension of the unconstrained optimization problem, how do I set that? HOT 8
- PyCUTEst v1.5.0 breaks existing cached problems HOT 12
- module 'pycutest_cache_holder.X' has no attribute 'setup' HOT 1
- error when Installing on Linux HOT 10
- Better handling of incompatible Fortran compilers
- System state isn't restored after loading failure (`FileNotFoundError`) HOT 2
- How to find problems with equality constraints only? HOT 5
- Support for ARM-based Mac HOT 2
- import_problem HOT 5
- Release of memory HOT 6
- Facing error when attempting to run the given example HOT 2
- Conversion of an array with ndim > 0 to a scalar is deprecated and will error in future
- Pycutest with Knitro solver HOT 1
- Add new CUTEst routines for the John function HOT 2
- Add missing sparse routines (sobj, sgrad)
- Compilation in parallel on macOS does not work HOT 5
- Setuptools not installed by default HOT 3
- Switch to `pyproject.toml`
- Python Headers on Ubuntu HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycutest.