Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
FIC_DK_P GA Solving
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3TAL
FIC_DK_P GA Solving
Commits
bc4663c8
Commit
bc4663c8
authored
May 28, 2020
by
Alexis Lebis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'oob_excep_fixing' into 'clusterRun'
fixing bug on OOB in some case See merge request
!6
parents
46fa9dea
5be50c8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
problem.cpp
src/model/problem.cpp
+1
-1
No files found.
src/model/problem.cpp
View file @
bc4663c8
...
@@ -292,7 +292,7 @@ int CSDVP::CSDVP_COUNTER = 0;
...
@@ -292,7 +292,7 @@ int CSDVP::CSDVP_COUNTER = 0;
while
(
!
insertRez
)
//if duplicataProtection (i.e. course already in this semester)
while
(
!
insertRez
)
//if duplicataProtection (i.e. course already in this semester)
{
{
rndIdx
=
CSDVP
::
_randomizeIn
(
0
,
pb
.
_quantityAvailableCourses
);
rndIdx
=
CSDVP
::
_randomizeIn
(
0
,
pb
.
_quantityAvailableCourses
-
1
);
insertRez
=
tmpCourses
.
at
(
rndIdx
).
addTemporalFrame
(
pb
.
timeFrames
().
at
(
i
));
insertRez
=
tmpCourses
.
at
(
rndIdx
).
addTemporalFrame
(
pb
.
timeFrames
().
at
(
i
));
}
}
idxCoursesCounter
++
;
idxCoursesCounter
++
;
...
...
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