Top student: All my teachers are academic whizzes!.

Chapter 110 Mathematical Programming Solvers

Mathematical Programming Solver (First Update, 4.2K views, please subscribe)

Starting a company, or at least assembling a team to develop a mathematical programming solver, was not a decision Han Chuan made on a whim.

After receiving feedback from Mr. Su Buqing's Book Spirit Seed, he received a continuous task: "The Mathematical Kernel of Industrial Software," with a five-year time limit.

As can be seen from the name of the task, its core is undoubtedly the geometry kernel, solver kernel, and underlying mathematical library—industrial software based on a mathematical engine.

For example, the core of CAD is the geometry kernel, which is responsible for accurately describing and managing the geometry and topology of three-dimensional objects in the computer, determining how complex and precise models designers can create.

There is also the CAE kernel, which is used to predict the performance of products in the real physical world, such as stress, deformation, temperature changes, etc.

These industrial software applications are currently monopolized by foreign giants. Even in ten or twenty years, CAD, CAE, and MATLAB will still be the mainstream in the industry.

Of course, the monopoly of these industrial software is a systemic advantage accumulated over decades.

Behind this lies a generational gap in industrialization experience, high technological barriers, a closed-loop business ecosystem, and strategic competition among nations. It is not caused by a single reason, but rather by a complex predicament with interconnected links.

This is like a time lock. Developed countries in Europe and America took the lead in completing the Industrial Revolution and accumulated hundreds of years of industrialization experience, which is difficult for China to surpass in a short period of time.

Han Chuan didn't expect that he could overturn this grand scheme by simply producing some minor achievement; that was impossible.

It's not just because of the monopoly of foreign giants, but also because the development of industrial software requires expertise in technology, mathematics, and software.

Engineering professionals with diverse skills.

Such talent development has an extremely long training cycle and is scarce globally.

From a domestic perspective, such talent is extremely rare, practically impossible to find even with a lantern.

Even if they exist, they are very rare. They are mostly monopolized by state-owned enterprises or top-tier factories, or they have simply gone abroad.

Therefore, Han Chuan's idea was to start from a corner of this huge market and first take over a small, relatively easy piece of territory.

For example, mathematical programming solvers are just a small piece of the vast field of industrial software.

Its core function is to automatically calculate the values ​​of decision variables that make the objective function (maximize or minimize) optimal under given constraints.

Simply put, it is a packaged "black box" software system.

You only need to abstract real-world problems such as resource allocation and path planning into a mathematical model of objective function and constraints, and this "black box" can find an optimal solution from a massive number of possibilities in a very short time.

For example, if you run a small logistics company, and today 10 customers need to have their goods delivered from one of your warehouses (number 0).

Each customer has a fixed delivery time window; for example, customer A can only receive goods between 9:00 AM and 10:00 AM.

Each truck has a limited load capacity, and fuel costs are proportional to the distance traveled. You have three trucks available, each with a capacity of 100 items.

You need to minimize the total travel distance (or the total cost) while satisfying all constraints.

In this situation, manual calculation and coordination of scheduling is an extremely complex task.

However, if there were a mathematical programming solver, you would only need to input the data such as your conditions and requirements, and within minutes it could give you the most perfect planning route.

For example, it can arrange exactly how vehicle A should go, how much cargo it should carry, and which customer vehicle B should meet.

You just need to arrange the personnel configuration according to the results given above.

If not, you'll need a dispatcher with at least ten years of experience to spend two or three days processing it.

Furthermore, the results of the planning process may be far inferior to the routes calculated by a mathematical programming solver in a few minutes.

From this perspective, the latter completely outclasses the former in terms of manpower, resources, and material strength.

It would take a master craftsman with over ten years of experience two or three days to solve this manually, and it might not even be the optimal route, but a computer can do it in a few minutes.

This is where the importance of industrial software lies.

In the computer room, Xu Zhiyuan looked at Han Chuan and, after hearing his explanation, asked with some surprise, "Are you serious?"

Han Chuan nodded and said, "Of course!"

"I've done my research. Domestic solvers are a blank area. There are only a few teams working on them in China, and they are all very small in scale."

He paused for a moment, then continued to explain: "Although it was impossible for us to reach the level of Gurobi at the beginning, after all, that was something that they had worked on for decades and built with thousands of engineers."

"But we can start with a niche area."

"For example, we can start with trajectory planning and resource scheduling."

"The set of mathematical tools I've accumulated in trigonometric sum estimation, such as the weighted control column framework, dual inequalities, and adaptive feedback mechanisms, happens to have similarities with the underlying mathematical structure of optimization solvers."

"Traditional linear programming and mixed integer programming rely on the simplex method or interior point method. These methods have been used in industry for decades and are highly mature."

"However, when dealing with complex optimization problems that are high-dimensional, multi-constrained, and strongly nonlinear, the convergence speed of traditional methods will encounter a bottleneck at the boundary layer—which is precisely the area where my weighted framework excels."

"If this mathematical tool can be migrated into the solver kernel, theoretically a completely new technological route could be opened up."

Xu Zhiyuan thought for a moment and said, "I do know a little about this. I've used some domestic solvers before and have some knowledge of this area."

"Overall, there are probably no more than ten companies in China doing this, and they are basically using modified open-source frameworks. The gap between them and commercial-grade companies like Gurobi is huge."

As he spoke, he looked at Han Chuan, paused for a moment, then frowned and asked, "This is indeed a very good field."

"But if you want to do this, where will you get the technology and funding?"

Hearing this question, Han Chuan smiled and said, "The initial funding shouldn't be too much; I should be able to manage it."

"Moreover, in the initial stage, we can first create a small solution engine for a specific problem domain, without needing to cover everything."

As for the technology...

7

He paused for a moment, then smiled and tapped his temple with his finger.

"I should be able to solve a lot of the math parts, including the algorithm framework, the underlying optimization strategies, and the derivation of the core formulas."

"However, for the code implementation, I need a reliable programmer partner."

"So, Senior Brother Xu, are you interested?"

Xu Zhiyuan glanced at the last batch of data on the screen that hadn't finished running, then turned his gaze back to Han Chuan and smiled in a half-joking, half-serious tone.

"So what conditions are you going to offer?"

"You know, modeling programmers who have won national awards aren't cheap."

Clearly, he was tempted and was advocating for better treatment.

Han Chuan thought for a moment and then asked, "Senior Brother Xu, you're going to pursue a master's and doctoral degree, right?"

Xu Zhiyuan nodded and said, "Mm."

Han Chuan: "Then I'll give Senior Brother Xu two choices."

"My first option is to pay you a salary, a base salary of six thousand per month, plus bonuses, performance-based pay, and so on."

"You don't need to work every day; you only need to dedicate two to three days a week to writing code."

"When the project schedule is tight, we can work a few extra days; when the schedule is loose, you can arrange your time freely. Your studies will not be affected, and your pace for pursuing a master's or doctoral degree will continue as usual."

Upon hearing this, Xu Zhiyuan did not answer, but instead asked, "What about the second option?"

Han Chuan smiled and said, "The second option is to become a partner, and I can give you 10% of the shares. But compared to the first option, this option requires you to do much more."

"Besides writing code, you also have to be responsible for team management, coordination, and other aspects of the work in the early stages. You may have to do the work of several people, so it's bound to be very busy."

"Furthermore, if the company grows and, for example, secures financing in its future development, and you wish to exit, I have the right of first refusal to repurchase your shares."

"This choice carries both risks and high stakes; it's up to you which one you choose."

Han Chuan had a high opinion of his senior brother Xu Zhiyuan.

His programming skills were evident, especially during this collaboration on the national competition.

The ability to write code to solve the problem of rapid trajectory planning for intelligent aircraft under multiple constraints in just one day and one night is truly impressive in terms of speed and proficiency.

"It's worth it to hire such an academic genius as the general manager with 10% of the shares."

At least he can save a lot of thought and energy, only needing to be responsible for building the underlying architecture and model of the mathematical programming solver.

All matters related to coding and company team management can be handled by this senior colleague, Xu.

Moreover, the 10% equity stake is not permanent. The company will need to raise funds and develop in the future, so this 10% equity stake is bound to be diluted.

Of course, if it gets to that point, the other party's gains will far exceed the equity dilution.

Across from him, Senior Brother Xu fell silent, pondering what choice to make.

A 10% stake sounds very tempting, especially for college students like them, as it's like starting a company with a partner.

However, if the company fails to take off, or goes bankrupt before reaching the angel round of financing, then this 10% equity stake is completely meaningless.

Moreover, the vast majority of startups in the world, arguably over 99%, die before even reaching their angel round of funding.

On the other hand, if the company can survive until the angel round of financing, then 10% of the shares would be worth 1 million even if the company is valued at 10 million!

Moreover, given Han Chuan's academic strength and the technical barriers of this mathematical framework, once it is successfully implemented in the specific area of ​​trajectory planning, its valuation will likely be far more than ten million.

As for the first option, a monthly base salary of 6000 yuan plus performance bonuses, requiring only two to three days a week to be responsible for writing the initial code, this option is also quite good.

If you do the math, his monthly salary would be between 15,000 and 20,000 yuan. It's 2009 now, and that's definitely a high salary in Changsha.

Although the computer industry has a promising future, it is uncertain whether he can find a job with a monthly salary of 15,000 yuan in Changsha if he simply graduates with a bachelor's degree and goes out to find work.

So what if you're from a 985 university? Not every student from a 985 university can find a job with a monthly salary of over 10,000 yuan.

After considering for about two and a half minutes, Xu Zhiyuan took a deep breath and made his decision: "I choose the second option, 10% of the shares."

He paused for a moment, then looked at Han Chuan and smiled, "Putting everything else aside, just the fact that you, Junior Brother Han, were able to publish a paper with one of the Big Four accounting firms in your freshman year is enough for me to bet that this company will be able to develop smoothly!"

"As for being a little tired, that's no problem. If it really comes down to it, I can apply for a leave of absence to pursue a master's or doctoral degree!"

Han Chuan smiled, extended his hand and said, "From today onwards, we are partners."

Xu Zhiyuan extended his hand, his face beaming with the same smile: "From now on, Junior Brother Han will be a domineering CEO!"

Liu Lu, who was standing nearby, also came over and asked, "What about me? What about me, Han Chuan? I want to join too!"

Upon hearing this, Han Chuan looked over and smiled, "If Senior Sister Liu Lu also wants to come, she can first manage the team and company with Senior Brother Xu."

mouth

As for salary...

After thinking for a moment, he said, "Six thousand a month is fine. If the company does well in the future, we can allocate stock options to my senior sister."

Upon hearing this, Liu Lu looked resentful, wondering why she didn't have any shares.

However, she quickly came to terms with it; a monthly salary of six thousand was already quite good for an undergraduate student who was still studying.

Moreover, she is self-aware.

Although she also studied computer science, could write code, and could write papers, she was indeed far behind Xu Zhiyuan, a top student who could lead a team to participate in modeling competitions and compete for the national first prize.

If not, then so be it. It would be nice to have stock options later.

After thinking it over, Liu Lu accepted the invitation and said with a smile, "Then I will be the first employee of our company."

"From now on, submit all your papers, applications, business plans, and all written materials to me. You just focus on the technical aspects; I'll handle the rest of the day-to-day work!"

After the three officially met and confirmed their partnership, Han Chuan smiled and said, "However, we won't be able to start working on the company until my paper is officially published."

He can't even scrape together 10,000 yuan right now, let alone have the money to start a company.

But if he gets a paper published in one of the top four journals, the school should at least reward him with 100,000 yuan, right?

With the prize money from the National Undergraduate Modeling Contest (first prize) and a startup loan from the university, starting a small early-stage company should be possible.

enough.

Hearing Han Chuan's shrewd words, Xu Zhiyuan said with a wry smile, "Junior Brother Han, so you were just trying to trick me out of my money?"

Han Chuan laughed and said, "How can you call something a scholar does a hoax?"

Xu Zhiyuan smiled and shook his head, not paying much attention to these things.

He knew very well that today might be a turning point in his life.

As for whether it will rise or fall, we'll have to wait and see.

But no matter what, following a true genius who can solve the triangle sum estimation problem in his freshman year won't lead to a bad future.

A salary of six thousand yuan is indeed stable, but he doesn't want to look back in the future and find that he gave up an opportunity that could have changed the course of his life in pursuit of stability.

>

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like