Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Louis BECQUEY
/
biorseo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Network
Create a new issue
Builds
Commits
Authored by
Louis BECQUEY
2019-03-07 11:14:33 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
2c032d9ef87e39820576bb804f288b715021c719
2c032d9e
2 parents
5f5d3f3b
82a43cce
merge
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
cppsrc/MOIP.cpp
cppsrc/MOIP.cpp
View file @
2c032d9
...
...
@@ -134,6 +134,11 @@ MOIP::MOIP(const RNA& rna, const vector<Motif>& insertionSites, float theta, boo
}
if
(
getNumConstraints
(
model_
)
>
2000
)
{
cerr
<<
"Stopping 'cause too big for me..."
<<
endl
;
exit
(
-
1
);
}
// Define the motif objective function:
obj1
=
IloExpr
(
env_
);
for
(
uint
i
=
0
;
i
<
insertion_sites_
.
size
();
i
++
)
{
...
...
@@ -376,10 +381,10 @@ void MOIP::define_problem_constraints(void)
count
++
;
}
}
if
(
count
)
{
if
(
count
>
0
)
{
model_
.
add
(
c3
<=
(
kxi
-
IloNum
(
2
)));
if
(
verbose_
)
cout
<<
"
\t\t
"
;
// if (verbose_) cout << x.atlas_id
<< '-' << j << ": ";
if
(
verbose_
)
cout
<<
x
.
get_identifier
()
<<
'-'
<<
j
<<
": "
;
if
(
verbose_
)
cout
<<
(
c3
<=
(
kxi
-
IloNum
(
2
)))
<<
endl
;
}
}
...
...
Please
register
or
login
to post a comment