Comments (5)
Hmm, that's strange. No, prioritizr stores everything in memory (with exception to file-backed raster data sets), so I don't think it's a temporary directory issue. I'm pretty busy at the moment, and I'll try to get to this when I can.
from prioritizr.
No worries Jeff. Its not at all urgent, but I thought I'd record the issue here as it is strange.
from prioritizr.
Loading the proto package seems to fix the problem on my system:
library(prioritizr)
library(proto)
load("temp.RData")
print(p1)
Does that work for you?
If so, one fix might be to move the proto package from Imports to Depends in the DESCRIPTION? The downside with this putting things in the Depends field is generally discouraged, but I think being able to save prioritizr objects is pretty important? It seems many of the packages using proto also put proto in the Depends, so maybe it really should be in the Depends? What do you think?
from prioritizr.
Thanks @jeffreyhanson. This fixes the issue on my system as well.
I agree, saving prioritzr objects is pretty important. I went ahead and did this with commit 34aad39
from prioritizr.
Awesome - thanks!
from prioritizr.
Related Issues (20)
- Get Solution cost/quality/objective value HOT 4
- Remaining tasks for version 8 HOT 2
- Boundary penalty & sensitivity analysis HOT 5
- weighting disturbance features for a restoration problem HOT 9
- solve() fails with new highs version
- Solving using cbc HOT 8
- Solver Issues HOT 3
- New presolve check warning: more features are needed on previously feasible problem HOT 3
- Error solving problem HOT 6
- please change check in `add_manual_locked_constraints()` HOT 10
- Assertion on 'log_to_console' failed: Must be of type 'logical', not 'integer'. HOT 3
- rij_matrix can return empty matrix when memory = TRUE HOT 2
- installation of cplexAPI package + re-scaling features data HOT 17
- Overly zealous assert causes spurious failure on problem(), breaking valid prioritizr 7.1.1 scripts HOT 2
- high boundary penalties, but solution has weird hole HOT 1
- Error while solving the problem HOT 10
- package overview manual entry
- Add linear constraints for multiple zones HOT 3
- lexicographic (hierachical) multi-objective optimization HOT 5
- Add max area threshold for zone and dealing with fragmented zones HOT 25
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 prioritizr.