Comments (1)
If you have multiple objective functions, you must combine them into a single function. In simanneal terminology, you have to define the energy
method. This could be anything from simple weighting:
def energy(self):
a = objective_a()
b = objective_b()
return (4 * a) + b
For more complex multi-objective problems, you can add any logic that can be implemented in Python. As long as you return a scalar value, simanneal will find a way to minimize that value.
A common technique, known to me through the use of the conservation planning tool Marxan, is to have positive objectives as "targets" with equal units, while other negative objectives are treated as "penalties" for exceeding a certain threshold.
from simanneal.
Related Issues (20)
- .auto() yields tmax == tmin, and negative remaining time HOT 2
- Problem in code HOT 1
- copy_state() returns None HOT 1
- Allow any type of state variable HOT 1
- multithreading HOT 2
- updates not printed out HOT 4
- Is it possible to perform a continuous problem with this package?
- Dependency injection for external data
- Travis builds failing HOT 1
- tsp example move() needs a fix
- Unit tests HOT 1
- ZeroDivisionError in anneal.py HOT 4
- Litterature reference for auto scheduling HOT 2
- Temperature and Energy stuck at zero HOT 1
- Litterature reference for simulated annealing HOT 2
- Pass current temperature to move function HOT 2
- Annealing problem HOT 1
- Speeding Up the Calculation HOT 2
- Replacing lines to shorten output HOT 2
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 simanneal.