Comments (3)
Hi,
Yeah -- assuming that you have a min set objective -- using the add_manual_targets()
and add_linear_constraints()
functions like that would have exactly the same affect on the mathematical formulation of the optimization problem. The key difference is that encoding this formulation as a target (with add_manual_targets()
) is that the functions for evaluating feature representation (eval_feature_representation_summary()
) and target coverage (eval_target_coverage_summary()
) will report additional information for "feature_column_name"
. If you don't have a min set objective, then these two implementations will not result in the same mathematical formulation. This is because -- for objectives other than the min set objective -- the targets are treated as soft constraints (meaning that solutions may not always meet the targets), whereas the linear constraints are always treated as hard constraints (regardless of which objective function is used).
How does that sound? Let me know if I can provide any further details?
from prioritizr.
Very clear, many thanks Jeff!
I feel like it might be useful to have some of these Q & As compiled somewhere for prioritizr users. I don't want to promise anything, but I could try and put an Rmarkdown together at some point. Just a thought!
from prioritizr.
No worries!
Yeah that's a great idea! Yeah, no worries if you don't have time, but an FAQ document would be brilliant. We could include it as a vignette.
from prioritizr.
Related Issues (20)
- needless conversion from sparse matrix to regular matrix
- shuffle_portfolio(): 'Error in Matrix::sparseMatrix(...) : unused argument (repr = "T")' HOT 7
- boundary_matrix in 7.2.2 fails HOT 11
- Information on use in clusters HOT 6
- CRS error HOT 3
- Warning in presolve_check.OptimizationProblem(compile(x)) HOT 4
- CRAN check NOTE, update to C++17 HOT 3
- Evaluating solutions for problems with tabular inputs HOT 3
- Error: number_of_total_units(x) not equal to nrow(solution@data) HOT 7
- relative target issue HOT 7
- Output resulting in bands HOT 6
- add_boundary_penalty & eval_connectivity_summary issues HOT 7
- ILP vignette HOT 1
- 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
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.