Firw

Firw

V2EX member #198880, joined on 2016-10-29 05:33:53 +08:00
Per Firw's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
Firw's recent replies
Jul 1, 2025
Replied to a topic by yy306525121 程序员 想写一个排课功能,请教大佬们
@hlwjia 兄弟,最近工作忙了,没空做这种 side project 了
Aug 23, 2024
Replied to a topic by yy306525121 程序员 想写一个排课功能,请教大佬们
@yy306525121 留个微信,不急的话我摸鱼的时候帮你看看
Aug 22, 2024
Replied to a topic by yy306525121 程序员 想写一个排课功能,请教大佬们
楼都看了一遍,还是有几个兄弟懂运筹优化的。这个问题建好模型丢给求解器就行了,不如把具体的决策变量、约束条件、目标函数大概讲出来,自然有大佬摸鱼的时候帮你建模求解。另外你提到的求解器效率不行,模型建的好不好会直接影响求解效率,一些建模技巧你可能不了解没有用到。
支持一下!
Dec 25, 2018
Replied to a topic by Hawstein 推广 圣诞节送出 5 本书和 1 个福利
算法(第 4 版)
Python 为例:

>>> import re
>>> pattern = r'''(?<=\(\[\{').+?(?="/\\>)'''
>>> string = '''([{'aabbcc"/\>([{'aabbcc"/\>([{'aabbcc"/\>'''
>>> re.findall(pattern, string)
输出:
['aabbcc', 'aabbcc', 'aabbcc']

获取到内容后,剩下的可以自由发挥了。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2603 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 14:53 · PVG 22:53 · LAX 07:53 · JFK 10:53
♥ Do have faith in what you're doing.