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
23
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
790
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
93
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
160
人工知能はクロスジョインでできている/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
500
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.6k
直積は便利/direct_product_is_useful
florets1
3
500
Other Decks in Programming
See All in Programming
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
えっ!!コードを読まずに開発を!?
hananouchi
0
230
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
190
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
180
AIエージェントで 変わるAndroid開発環境
takahirom
2
710
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
150
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
5.3k
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
180
共通化で考えるべきは、実装より公開する型だった
codeegg
0
270
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
390
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
360k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
22k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Context Engineering - Making Every Token Count
addyosmani
9
1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
740
Designing Experiences People Love
moore
143
24k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
390
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
340
Tell your own story through comics
letsgokoyo
1
1k
Color Theory Basics | Prateek | Gurzu
gurzu
0
390
[SF Ruby Conf 2025] Rails X
palkan
2
1.2k
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