Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs598mp-fall2021-proj
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chsieh16
cs598mp-fall2021-proj
Commits
1ffc4b09
Commit
1ffc4b09
authored
3 years ago
by
chsieh16
Browse files
Options
Downloads
Patches
Plain Diff
Move config values for gurobi to env file
parent
46c6e98b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
firstpass_teacher.py
+0
-1
0 additions, 1 deletion
firstpass_teacher.py
gurobi.env
+1
-0
1 addition, 0 deletions
gurobi.env
with
1 addition
and
1 deletion
firstpass_teacher.py
+
0
−
1
View file @
1ffc4b09
...
...
@@ -81,7 +81,6 @@ def compute_min_dist(x_bound: Tuple[float, float], y_bound: Tuple[float, float],
return
np
.
nan
assert
coeff
.
shape
==
(
2
,
2
)
and
intercept
.
shape
==
(
2
,)
with
gp
.
Model
(
"
lane_centering_stanley
"
)
as
m
:
m
.
setParam
(
GRB
.
Param
.
DualReductions
,
0
)
print
(
"
Partition: x in [%g, %g] and y in [%g, %g]
"
%
(
x_bound
+
y_bound
))
add_constraints
(
m
,
x_bound
,
y_bound
,
coeff
=
coeff
,
...
...
This diff is collapsed.
Click to expand it.
gurobi.env
+
1
−
0
View file @
1ffc4b09
DualReductions 0
OutputFlag 0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment