Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
a395a1d0
Commit
a395a1d0
authored
Jun 30, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction in SkilledRouter
parent
f976dec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dream/simulation/SkilledOperatorRouter.py
dream/simulation/SkilledOperatorRouter.py
+6
-0
No files found.
dream/simulation/SkilledOperatorRouter.py
View file @
a395a1d0
...
...
@@ -214,7 +214,13 @@ class SkilledRouter(Router):
self
.
operators
,
previousAssignment
=
self
.
previousSolution
,
weightFactors
=
self
.
weightFactors
,
Tool
=
self
.
tool
)
else
:
# if the LP is not called keep the previous solution
# if there are no available operators though, remove those
solution
=
self
.
previousSolution
for
operatorID
in
solution
.
keys
():
if
not
operatorID
in
self
.
availableOperatorList
:
del
solution
[
operatorID
]
# print '-------'
# print self.env.now, solution
# print 'time needed',time.time()-startLP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment