Hi
user
Admin Login:
Username:
Password:
Name:
A Gentle Introduction to Linear Programming in Python
--client
pyohio
--show
pyohio_2019
--room cartoon2 14853 --force
Next: 12 Docker-Composing Your Way to a Better Development Environment
show more...
Marks
Author(s):
Bethany Poulin
Location
Cartoon 2
Date
jul Sat 27
Days Raw Files
Start
14:00
First Raw Start
13:31
Duration
0:45:0
Offset
0:28:36
End
14:45
Last Raw End
15:01
Chapters
00:00
0:00:54
0:30:54
Total cuts_time
47 min.
https://www.pyohio.org/2019/presentations/139
raw-playlist
raw-mp4-playlist
encoded-files-playlist
host
archive
tweet
mp4
svg
png
assets
release.pdf
A_Gentle_Introduction_to_Linear_Programming_in_Python.json
logs
Admin:
episode
episode list
cut list
raw files day
marks day
marks day
image_files
State:
---------
borked
edit
encode
push to queue
post
richard
review 1
email
review 2
make public
tweet
to-miror
conf
done
Locked:
clear this to unlock
Locked by:
user/process that locked.
Start:
initially scheduled time from master, adjusted to match reality
Duration:
length in hh:mm:ss
Name:
Video Title (shows in video search results)
Emails:
email(s) of the presenter(s)
Released:
has someone authorised pubication
Unknown
Yes
No
Normalise:
Channelcopy:
m=mono, 01=copy left to right, 10=right to left, 00=ignore.
Thumbnail:
filename.png
Description:
markdown
## What is Linear Programming Linear programming is an optimization method with broad utility. Sadly the study of linear programming is often overlooked in favor of sexier machine learning algorithms by both practitioners and data science educators (both bootcamps and graduate programs). However, it is used extensively in many of the fields from which data science evolved and there are useful libraries in most of the major analytical languages. We will spend 5-10 minutes understanding linear programming in general before moving on to code ## Linear Programming in Python In Python, the most common library is Pulp which we will use to look at two separate optimization problems, one to minimize and one to maximize a desired outcome variable. We will go through: System requirements Package Installation Computational Complexity (floating values & discrete number calculations) ## Real World Examples with Code We will be setting up and completing the two problems. In doing so we will learn how to simplify a complex system into a series of linear equations. We will learn about: * Decision Variables - the outcomes we choose to optimize * Objective Function - the series of relationships between decision variables which affect the optimization * Constraints - the limits on our decision variables which allocate resources * How to visualize the problem (it could be a graph or simple illustration) * How to set up the equations defining the problem * How to solve the series of equations * How to interpret the results * How to know when you can, should or should not use linear programming to solve a problem The presentation will be assume a base understanding of python algebra and linear equations (y=mx+b) but it is not going to be presented in a mathematically demanding way. We will look at real-world resource allocation problems and use simple python code to solve them. ### Resources There will be a fully fleshed out GITHUB repository with: * The slides * The code * Brief instructional README.md with links to other useful online sources Linear programming is a useful computational technique for finding minima or maxima of a complex system by breaking it into a series of linear equations which describe the systems. It has many practical applications in industry, medicine, agriculture and in retail environments. Together we will explore simple linear programming problems using Python and the module Pulp.
Comment:
production notes
2019-07-27/13_31_24.ts
Apply:
13:31:24 - 13:54:42 ( 00:23:18 )
S:
13:31:24 -
E:
14:01:23
D:
00:29:59
(
End:
1398.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/13_31_24.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
13:31:24
seconds: 0.0
Wall: 13:31:24
Duration
00:29:59
14:01:23
seconds: 1398.0
Wall: 13:54:42
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/13_31_24.ts
Apply:
13:54:42 - 13:54:49 ( 00:00:07 )
S:
13:31:24 -
E:
14:01:23
D:
00:29:59
(
Start:
1398.0) (
End:
1405.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/13_31_24.ts :start-time=01398.0 --audio-desync=0
Raw File
Cut List
13:31:24
seconds: 1398.0
Wall: 13:54:42
Duration
00:29:59
14:01:23
seconds: 1405.0
Wall: 13:54:49
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/13_31_24.ts
Apply:
13:54:49 - 13:58:39 ( 00:03:50 )
S:
13:31:24 -
E:
14:01:23
D:
00:29:59
(
Start:
1405.0) (
End:
1635.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/13_31_24.ts :start-time=01405.0 --audio-desync=0
Raw File
Cut List
13:31:24
seconds: 1405.0
Wall: 13:54:49
Duration
00:29:59
14:01:23
seconds: 1635.0
Wall: 13:58:39
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/13_31_24.ts
Apply:
13:58:39 - 13:58:42 ( 00:00:03 )
S:
13:31:24 -
E:
14:01:23
D:
00:29:59
(
Start:
1635.0) (
End:
1638.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/13_31_24.ts :start-time=01635.0 --audio-desync=0
Raw File
Cut List
13:31:24
seconds: 1635.0
Wall: 13:58:39
Duration
00:29:59
14:01:23
seconds: 1638.0
Wall: 13:58:42
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/13_31_24.ts
Apply:
13:58:42 - 14:00:03 ( 00:01:21 )
S:
13:31:24 -
E:
14:01:23
D:
00:29:59
(
Start:
1638.0) (
End:
1719.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/13_31_24.ts :start-time=01638.0 --audio-desync=0
Raw File
Cut List
13:31:24
seconds: 1638.0
Wall: 13:58:42
Duration
00:29:59
14:01:23
seconds: 1719.0
Wall: 14:00:03
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/13_31_24.ts
Apply:
14:00:03 - 14:00:29 ( 00:00:26 )
S:
13:31:24 -
E:
14:01:23
D:
00:29:59
(
Start:
1719.0) (
End:
1745.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/13_31_24.ts :start-time=01719.0 --audio-desync=0
Raw File
Cut List
13:31:24
seconds: 1719.0
Wall: 14:00:03
Duration
00:29:59
14:01:23
seconds: 1745.0
Wall: 14:00:29
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/13_31_24.ts
Apply:
14:00:29 - 14:01:23 ( 00:00:54 )
S:
13:31:24 -
E:
14:01:23
D:
00:29:59
(
Start:
1745.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/13_31_24.ts :start-time=01745.0 --audio-desync=0
Raw File
Cut List
13:31:24
seconds: 1745.0
Wall: 14:00:29
Duration
00:29:59
14:01:23
seconds: 0.0
Wall: 13:31:24
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_01_24.ts
Apply:
14:01:24 - 14:31:24 ( 00:30:00 )
S:
14:01:24 -
E:
14:31:24
D:
00:30:00
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/14_01_24.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
14:01:24
seconds: 0.0
Wall: 14:01:24
Duration
00:30:00
14:31:24
seconds: 0.0
Wall: 14:01:24
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_31_24.ts
Apply:
14:31:24 - 14:47:38 ( 00:16:14 )
S:
14:31:24 -
E:
15:01:24
D:
00:30:00
(
End:
974.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/14_31_24.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
14:31:24
seconds: 0.0
Wall: 14:31:24
Duration
00:30:00
15:01:24
seconds: 974.0
Wall: 14:47:38
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_31_24.ts
Apply:
14:47:38 - 14:59:55 ( 00:12:17 )
S:
14:31:24 -
E:
15:01:24
D:
00:30:00
(
Start:
974.0) (
End:
1711.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/14_31_24.ts :start-time=0974.0 --audio-desync=0
Raw File
Cut List
14:31:24
seconds: 974.0
Wall: 14:47:38
Duration
00:30:00
15:01:24
seconds: 1711.0
Wall: 14:59:55
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_31_24.ts
Apply:
14:59:55 - 15:00:23 ( 00:00:28 )
S:
14:31:24 -
E:
15:01:24
D:
00:30:00
(
Start:
1711.0) (
End:
1739.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/14_31_24.ts :start-time=01711.0 --audio-desync=0
Raw File
Cut List
14:31:24
seconds: 1711.0
Wall: 14:59:55
Duration
00:30:00
15:01:24
seconds: 1739.0
Wall: 15:00:23
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_31_24.ts
Apply:
15:00:23 - 15:01:24 ( 00:01:01 )
S:
14:31:24 -
E:
15:01:24
D:
00:30:00
(
Start:
1739.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon2/2019-07-27/14_31_24.ts :start-time=01739.0 --audio-desync=0
Raw File
Cut List
14:31:24
seconds: 1739.0
Wall: 15:00:23
Duration
00:30:00
15:01:24
seconds: 0.0
Wall: 14:31:24
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
Rf filename:
root is .../show/dv/location/, example: 2013-03-13/13:13:30.dv
Sequence:
get this:
check and save to add this
2019-07-27/13_31_24.ts
2019-07-27/14_01_24.ts
2019-07-27/14_31_24.ts
Veyepar
Video Eyeball Processor and Review