TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Generating and solving difficult logic puzzles with LLMs

2 点作者 frogger85 个月前
make a logic puzzle for restaurant staffing. Have 23 employees and create a situation that is insane level hard to schedule the shifts. &quot;I&quot; will try to figure out an answer and verify with you if &quot;I&quot; am correct<p>The restaurant has 23 employees. The goal is to create a schedule that satisfies all the constraints below. Each shift must be completely staffed, and no rules can be violated.<p>Employees: There are 23 employees with the following specialties:<p>Chefs (C): Alice, Bob, Charlie, David, Evelyn Servers (S): Fiona, George, Hannah, Ian, Julia, Kevin, Lily, Mason, Natalie, Olivia Hosts (H): Peter, Quinn, Rachel, Sam Dishwashers (D): Tim, Ursula, Victor<p>Full details https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;67772c03-977c-8007-acb0-6881fdabae42<p>Answer generated by claude https:&#x2F;&#x2F;claude.site&#x2F;artifacts&#x2F;ce387d7f-cd9a-4440-9ba1-b4cc366a70bd

3 条评论

talldayo5 个月前
This is not what HN is used for. Don&#x27;t create submissions just to report an AI response.
评论 #42580647 未加载
brudgers5 个月前
At first blush, this might be Job Shop Scheduling {1}. But I don&#x27;t know {2}. If so, it is NP-Hard which means verifying an optimal solution is also in NP.<p>An LLM might be able to solve a toy scale problem with only four operations and lots of &quot;machines.&quot; But I am skeptical it can solve problems of &quot;interesting size&quot; more effectively than numerical techniques because verification is also in NP. {3} Good luck.<p>{1} <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Job_shop_scheduling" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Job_shop_scheduling</a><p>{2} &quot;All shifts covered&quot; seems like a requirement for optimality.<p>{3} Assuming the problem is Job Shop Scheduling.
frogger85 个月前
Note deepseek FAILED to figure it out