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
33
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
810
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
Building a Meta Ray-Ban display app
akkeylab
0
140
仕様駆動開発の消費期限
watany
20
8.2k
これって Effect でできたのでは? / TSKaigi Mashup Kansai #2
susisu
0
230
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
180
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
500
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
570
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
360
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
220
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
650
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
140
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
470
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
380
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
240
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Amusing Abliteration
ianozsvald
1
240
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
300
Navigating Team Friction
lara
192
16k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
240
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
430
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
200
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