Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
整数計画ソルバーで遊ぼう/using_an_integer_programming_solve...
Search
florets1
July 24, 2026
Programming
36
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
整数計画ソルバーで遊ぼう/using_an_integer_programming_solver_in_r
florets1
July 24, 2026
More Decks by florets1
See All by florets1
データ分析をはじめよう/lets_start_data_analysis
florets1
2
1.1k
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
820
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
97
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
170
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
120
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
490
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
1
520
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.6k
直積は便利/direct_product_is_useful
florets1
3
530
Other Decks in Programming
See All in Programming
What's New in Android 2026
veronikapj
0
270
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
5
490
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
710
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
530
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.6k
FastAPI の並行処理モデルを完全に理解する
hoto17296
1
390
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
230
今さら聞けない .NET CLI
htkym
0
200
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
3
770
AIを紡ぐPMのお話
swdtkuy
0
120
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
220
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.8k
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
480
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
620
Faster Mobile Websites
deanohume
310
32k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Building Adaptive Systems
keathley
44
3.2k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Between Models and Reality
mayunak
4
400
Transcript
整数計画ソルバーで遊ぼう 2026.07.26 Tokyo.R #121 1
タイルをつなげて並べたい タイルA タイルB 2
つながってない タイルA タイルB 3
タイルに番地をつける タイルA タイルB ① ② ① ② ④ ③ ④
③ 4
有る=1,無い=0 タイルA タイルB 1 1 1 1 1 0 0
1 5
「つながる」とは タイルA タイルB ① ② ① ② 1 1 =
1 1 ④ 1 ③ ④ 0 = 0 ③ 1 タイルAの② = タイルBの① タイルAの③ = タイルBの④ 6
tile.png 7
tile.png 14 13 04 12 08 07 11 06 15
09 10 05 02 03 01 00 8
9
タイル変数 x[i, j, k] i=1 i=2 j=1 j=2 j=3 k=①
② ④ ③ i=3 i=4 x[2,2,1] = 1 x[2,2,2] = 1 x[2,2,3] = 0 x[2,2,4] = 1 10
11
12
13
14
解けた! 15
結果の可視化コード 16