Comments (3)
My preference would be for scheduler.solution
to return a numpy array. scheduler.schedule
could then just take that output and pass it to scheduler.solution_to_schedule
Possibly, we might want a class here to hold these as methods
from conferencescheduler.
The alternative is that we simply recognise that we have 3 forms of the solution - numpy array, list of indexes and full schedule - and we use separate names for them.
from conferencescheduler.
I think I'm going with:
- solution - the form returned by pulp. A list of tuples of the form
(event.index, slot.index)
- array - a binary numpy array with rows representing events, columns representing slots and 1 to indicate scheduling of an event in a slot
- schedule - a list of
resources.ScheduledItems
from conferencescheduler.
Related Issues (20)
- Move the tags from a constraint to an objective function.
- Issue with Slot times and datetime while running tutorial code HOT 1
- can we use this to schedule meetings? HOT 1
- Unique ID for events and slots HOT 8
- Use lpsum function in place of plain addition HOT 1
- Return the final solution as a list (currently a generator) HOT 3
- Possible bug in constraint HOT 2
- Use bumpversion HOT 2
- Write a how to for the different formats of a solution/array/schedule.
- Move to flake8 HOT 1
- Set defaults for `tags` and `unavailability` HOT 2
- Event Methods HOT 12
- Reference Section HOT 1
- Add a how-to for the setter methods for the event unavailability and tags.
- Use autodoc for reference docs
- Equation label placement
- Use datetime rather than string for Slot.starts_at HOT 1
- Pass solver and kwargs to scheduler.array
- Use integers rather than floats in array format
- Instructions in CONTRIBUTING.rst for running tests have an undocumented YAML dependency
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 conferencescheduler.