TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #1084 · 9.04

В общем, была задача на оптимизацию плана работ: есть набор заказов, и в каждом N тасков. Таски могут зависеть друг от друга или нет, имеют длительность и тип. Ещё есть M работников, каждый из которых может выполнять таски только определённых типов, причём, у каждого своя скорость. Если все таски в заказе выполнены, фирма получает сколько-то денег. У заказа есть дедлайн, за просрочку штраф (за каждый день просрочки), который вычитается из цены заказа. И ещё фирма тратит деньги за каждый день своей работы независимо от того, как загружены её сотрудники (то есть просто платит зарплаты по сути). Ещё важен учёт праздников и выходных. Нужно заработать на определённом наборе заказов и работников как можно больше денег. Полный текст задачи и код программы проверки есть в репозитории. Эта задача является изменённым заказом, который мы с напарником решали в реальной жизни: оптимизация работы печатных станков для типографии. Правда, тогда и мы справились так себе, и заказчик в итоге сначала захотел всё вручную сам делать, а потом и вовсе похоронил проект при смене директора. !!! Не читайте дальше, если хотите сначала попробовать решить самостоятельно, потому что я сейчас опишу эффективные подходы и результаты. ________________________________________ Так вот. Мы с другим экспертом Андреем сразу сели и написали разные варианты, чтобы задать шкалу, по которой будем оценивать решения команд. За пару часов я собрал примитивный жадный алгоритм, который сортировал заказы по прибыльности и укладывал в сетку кое-как, это дало нам нижнюю оценку. Мой алгоритм заработал ~75 млн виртуальных рублей, мы решили для оценки поставить нижней границей 40 млн. То есть всё, что ещё ниже, оценивалось в ноль баллов за качество оптимизации. Затем Андрей закрылся дома на три дня и вышел на свет со сложным жадным алгоритмом, который очень хитро сортировал заказы и очень хитро укладывал их в сетку, попутно выбирая разные способы этой укладки в зависимости от конкретного заказа. Это позволило заработать ~275 млн рублей. Мы сделали верхней границей для оценки 280 млн. К сожалению, в итоге только две команды из десяти прошли нижнюю границу, заработав, соответственно, ~91 и ~105 млн. К верхней границе не приблизился никто. И у четырёх команд алгоритм вообще не смог уложить без нарушений задачи в сетку (то есть, например, произвольно менял длительности, накладывал задачи друг на друга, давал одному работнику две задачи в один момент и так далее). Важной ошибкой команд, на мой взгляд, являлся тот факт, что никто не воспользовался возможностью запустить алгоритм на несколько минут и дать ему поработать. По условиям задания, можно было тянуть до 5 минут на одну оптимизацию, но по факту решения команд отрабатывали за единицы и десятки секунд. На самом конкурсе, пока команды работали, я решил попробовать сделать быстрое (по времени написания) но эффективное решение. Сначала попробовал жадную сортировку + доведение до лучшего варианта методом имитации отжига. В качестве нового состояния я просто менял местами заказы целиком. Этот вариант работал пару минут и дал мне около ~200 млн дохода. К слову, команда-лидер использовала такой же подход, просто не докрутила число итераций и температуру. Ну и потом я взял готовую либу по реализации классической генетики с особями и скрещиванием. Особью был массив с приоритетами заказов (которые конечно же нужно было аккуратно уложить чистым алгоритмом). Тип скрещивания: scattered. Всего 15 поколений по 20 особей, и это за минуту-полторы давало ~230-240 млн. Считаю, что для конкурса это самый лучший выбор: пишется одним человеком за день и даёт почти максимум, при этом легко настраивается на нужную длительность работы, легко параллелится. Ну а потом уже дома я посидел и накодил свой вариант сложного жадного с плавающим окном перебора отсортированных заказов и плавающей же укладкой по работникам. Такая штука за две минуты зарабатывает ~281 млн. Но за три дня в условиях стресса я бы такое не сделал, скорее всего. #dev

Hashtags

Резултати

Намерени 6 подобни публикации

Търсене: #dwf

当前筛选 #dwf清除筛选
SIGNAL

@finsignal · Post #3026 · 07.04.2024 г., 06:22

🥊 Listing $DFC on Bitget — is it worth buying a token? $DFC is the main token of the Definer ecosystem on the TON blockchain with more than 100 services on one platform. At the moment, the project has the largest community on the blockchain — more than 450k people, and the token itself is trading at a price of $3.14 on MEXC, is in the top projects on TVL and in the top 500 projects on CoinMarketCap. Often, at the start of the listing, you can catch the best entry point and pick up the icons in the future. 🔍 Several reasons why you should look at buying $DFC: 1. The $DFC token is listed on MEXC and added to the telegram @wallet wallet. This means that new users coming to the $TON ecosystem see it. And this gives an even greater boost to the price and potential x's. 2. More than 25,000 active DFC wallets. The distribution of DFC on holders' wallets indicates the interest of whales. 3. The project and the token have direct support from $TON, Binance Labs and #DWF, the largest players in the ecosystem pumping market. 4. Capitalization is only $ 80 million, there is room to grow, cap #PEPE is $ 3 billion. In addition, the Token2049 conference is approaching, where Durov will speak. This means that $TON and all the projects around it will get a big boost.🔥

Hashtags

Bidask Protocol — New DEX on TONand a Giveaway💵33,000 🅱️Bidask launched in mainnet just a few days ago — before that, the exchange was in the testnet for almost three months. The team claims that their swap model is faster, cheaper and more efficient than its analogues. Practice confirms: exchanges are instantaneous, and the 10-15 sec delay is just the time it takes for the wallet to pick up the transaction. Further optimization is already on the TonCore side. 💰The seed investor is DWF Labs (market maker and validator #TON). For a young project, this is a serious resource — #DWF is building its own ecosystem and strengthening the platforms it is a part of. #Bidask — partner 🌑#TONFest. The festival will feature a raffle 💵 33,000, and you only need to complete three tasks: ✔️Make $10 swaps ✔️Provide $10 to liquidity pools ✔️Provide $20 to liquidity pools (first $10 does not count). Your $20 is locked in the pool until June 30, 2025. We recommend the $TON/$USDT pairand be sure to follow the buttons inside TON Fest — otherwise the quest will not be counted. Bidask DEX | Channel

Crypto M - Crypto News

@CryptoM · Post #65440 · 13.04.2026 г., 08:16

🚀 DWF Labs Founder Predicts Older Coins Unlikely to Reach All-Time Highs DWF Labs founder Andrei Grachev has expressed skepticism about the potential for older cryptocurrencies to achieve their previous all-time highs. According to NS3.AI, Grachev noted that while the market dynamics have evolved, many of these older projects have not adapted accordingly. This observation suggests a challenging future for legacy cryptocurrencies in the rapidly changing digital asset landscape. #DWF Labs #Andrei Grachev #cryptocurrencies#all-time highs #NS3.AI #legacy cryptocurrencies #digital assets

DWF Labs Broadcast

@DWFLabs · Post #206 · 11.02.2023 г., 05:13

The first HACK-A-TON by The Open Network (TON) in South Korea has just started! 🔥 Super excited to be one of their main sponsors 🚀🫡 Pop by to meet up with us, or any rep from BoomLabs, Ozys, and TAV (The Open Network, Alphanonce, VistaLabs). Address: B1, 126, Teheran-ro, Gangnam-gu, Seoul, Republic of Korea 주소: 서울 강남구 테헤란로 126 B1 수호아이오 KR page: https://lnkd.in/g9e-eDtb EN page: https://lnkd.in/gpsPXMWG #dwf#TheOpenNetwork#TON#Telegram#Hackathon#Seoul#Boomlabs#Ozys#TAV#Alphanonce#Vistalabs

Crypto M - Crypto News

@CryptoM · Post #65181 · 11.04.2026 г., 16:54

🚀 Market Conditions Present Opportunities for Strategic Investments, Says DWF Labs Co-Founder The cryptocurrency market is currently experiencing a "very boring" phase, according to ChainCatcher. DWF Labs Co-Founder Andrei Grachev expressed on social media that while participants may engage in discussions or humor, significant activities such as financing, trading, investing, and business expansion are quietly underway. Grachev noted that the current market environment poses challenges for major projects, exchanges, and companies to make new listings or significant announcements, as high-profile actions may not be effective at this time. He advised maintaining patience in investment portfolios and waiting for more opportune moments. He emphasized that the market is not in decline but rather offers opportunities for seemingly mundane activities, such as buying and holding Bitcoin long-term or engaging in altcoin speculation. Grachev concluded that there is still much to do for builders and investors, while smaller investors should focus on learning, avoid lamenting losses, and enjoy the market they have chosen to enter. #cryptocurrency#marketconditions#investmentopportunities#DWF Labs #AndreiGrachev#bitcoin#altcoin#longtermholding#speculation#investors#builders#patience#learning#BTC

Venture Village Wall 🦄

@venturevillagewall · Post #3600 · 20.12.2024 г., 16:00

DuckChain Secures $5M Funding TON’s consumer layer for Web3 DuckChain has successfully raised $5 million in a funding round with participation from multiple investors including dao5, Offchain Labs, DWF Ventures, and others. #DuckChain#Web3#Funding#TON#dao5#OffchainLabs#DWF#Investors#Ventures#Kenetic#Skyland#GeekCartel#GateLabs#PrestoLabs#Camelot#Quantstamp#Blockchain#Finance#Investment#Technology