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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
florets1
July 24, 2026
Programming
42
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
840
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
100
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
170
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
130
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
500
複式簿記から純資産を排除する/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
540
Other Decks in Programming
See All in Programming
デプロイ直後のレイテンシスパイクを調べたら、 Railsの仕様にたどり着いた
nhsykym
0
110
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.8k
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
340
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
1k
Press start. Python's next generation.
willingc
PRO
3
310
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
190
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
750
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
260
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
210
AIエージェント時代のコードレビューを設計する
nogu66
6
2.5k
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
260
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.3k
Practical Orchestrator
shlominoach
191
12k
Designing Experiences People Love
moore
143
24k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Bash Introduction
62gerente
615
220k
Tell your own story through comics
letsgokoyo
1
1.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
270
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Ten Tips & Tricks for a 🌱 transition
stuffmc
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