Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
CoMISo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CoMISo
CoMISo
Commits
37de038a
Commit
37de038a
authored
Dec 14, 2017
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some native Gurobi lazy constraint support
parent
29bc7c31
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
248 additions
and
37 deletions
+248
-37
NSolver/GUROBISolver.cc
NSolver/GUROBISolver.cc
+241
-37
NSolver/GUROBISolver.hh
NSolver/GUROBISolver.hh
+7
-0
No files found.
NSolver/GUROBISolver.cc
View file @
37de038a
This diff is collapsed.
Click to expand it.
NSolver/GUROBISolver.hh
View file @
37de038a
...
...
@@ -89,6 +89,13 @@ public:
const
double
_time_limit
=
60
,
const
bool
_silent
=
false
);
bool
solve
(
NProblemInterface
*
_problem
,
const
std
::
vector
<
NConstraintInterface
*>&
_constraints
,
const
std
::
vector
<
NConstraintInterface
*>&
_lazy_constraints
,
const
std
::
vector
<
PairIndexVtype
>&
_discrete_constraints
,
// discrete constraints
const
double
_time_limit
=
60
,
const
bool
_silent
=
false
);
// same as above with additional lazy constraints that are only added iteratively to the problem if not satisfied
bool
solve
(
NProblemInterface
*
_problem
,
...
...
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