Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
整数計画ソルバーで遊ぼう/using_an_integer_programming_solve...
Search
florets1
July 24, 2026
Programming
57
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
Transcript
16 slides
整数計画ソルバーで遊ぼう 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
More Decks by florets1
See All by florets1
Rでドレミ/Do-Re-Mi_with_R
florets1
0
150
データ分析をはじめよう/lets_start_data_analysis
florets1
2
1.2k
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
900
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
120
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
190
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
150
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
510
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
1
540
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.6k
Other Decks in Programming
See All in Programming
Spec-driven Development with AI
simas
PRO
0
2.3k
Distance field of Julia set
kinakomoti321
0
320
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
980
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
880
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
180
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
300
From Java 8-11 to Java 21-27 — Benefits, Challenges, and a Practical Migration Path
x5gtrn
PRO
0
100
Getting Started with Vibe Coding
miccheng
0
220
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
620
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
160
Modernizing iOS Apps
seyfoyun
0
160
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Color Theory Basics | Prateek | Gurzu
gurzu
1
520
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
900
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Odyssey Design
rkendrick25
PRO
3
950
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
The Invisible Side of Design
smashingmag
301
52k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k