Top student: All my teachers are academic whizzes!.
Chapter 108 The Four Greats? What Four Greats? I've never heard of them!
The Big Four? What Big Four? I've never heard of them!
Although the questions for Group A this year were exceptionally difficult, they weren't really that challenging for Gan Hanchuan.
This problem of rapid trajectory planning for intelligent aircraft under multiple constraints may seem complicated, but in fact, it has only one core requirement.
Its core is to plan a path for an aircraft with accumulated positioning errors, which requires finding a delicate balance between path feasibility and algorithm timeliness.
Of course, fewer core requirements does not mean simple; its high difficulty is mainly reflected in the complexity of physical constraints and the conflict of multi-objective optimization.
However, Han Chuan did not rush to write. He first spent nearly twenty minutes reading the entire question from beginning to end twice, including the coordinate data of the correction points in Appendix 1 and Appendix 2.
After reading it, he spread out the manuscript paper on the table, pondering the optimal solution to the problem while discussing it with his two teammates.
"This question is somewhat similar in underlying structure to the training question from the China Aerospace Science and Industry Corporation that Professor Geng gave us before. However, its complexity has increased by one or two orders of magnitude."
As he spoke, he quickly scribbled down a few keywords on the manuscript paper and continued.
"You see, as the aircraft departs from the starting point, its vertical error and horizontal error each increase by δ units after flying a certain distance."
"Upon reaching the calibration point, depending on the type of calibration point, the vertical or horizontal error is corrected back to zero, but not simultaneously..."
"To be corrected in time."
"Because when reaching the destination, the error in both directions must be less than θ units."
"This means hundreds of correction points, and the possible path combinations are astronomical."
Beside him, Xu Zhiyuan pushed up his glasses and frowned, saying, "The most crucial point is that the goals of finding the shortest path and minimizing the number of corrections are conflicting."
Upon hearing this, Han Chuan nodded and said, "Yes!"
"To shorten the path, you have to fly a straight line, but the distribution of correction points on a straight line may not meet the error constraints."
"If you want to reduce the number of calibrations, you have to be selective in using them, but being selective might lead to taking a longer route."
"Finally, we must also consider the case where the correction point fails, which means that the system must have fault tolerance."
Xu Zhiyuan read the question over again from beginning to end, then looked at Han Chuan: "How do you plan to approach it?"
Han Chuan smiled and said, "Two aspects!"
As he spoke, he picked up his pen and continued writing on the manuscript paper: "Judging from the problem and the constraints, the error accumulation of the aircraft is linear. For every meter of flight, the vertical and horizontal errors each increase by δ units."
"This means that between any two correction points, the increase in error is predictable and can be described by a linear function."
"The correction points are discrete; horizontal correction points can only correct horizontal errors, and vertical correction points can only correct vertical errors."
"This means that when choosing the next correction point, you must decide which type to prioritize based on the current error status."
"Furthermore, the turning radius limitation means that the flight path cannot have sharp angles, and the curvature must be continuous..."
'
As he spoke, he looked at Xu Zhiyuan and asked with a smile, "Senior Brother Xu, do you know what these are in engineering?"
Hearing this question, Xu Zhiyuan frowned and pondered for a moment before tentatively asking, "Path optimization?"
Han Chuan shook his head and wrote four large characters on the manuscript paper: "No, it's error management!"
"Path optimization is just the surface; how to make the trajectory as short as possible and the number of corrections as few as possible are all achieved through algorithms."
"But in reality, how do you dynamically control the errors in two directions during flight to ensure they never exceed a threshold? This is called 'error management'!"
He paused for a moment, then continued to draw a tree diagram in the blank space of the manuscript paper.
Starting from the beginning, each branch represents the selection of different correction points. As more and more branches appear, the entire blank space of the manuscript paper is soon filled with dense lines.
"The traditional approach is to treat the entire problem as a static global optimization problem, using dynamic programming or various heuristic search algorithms such as genetics, annealing, and ant colony optimization."
"However, the common problem with these algorithms is computational complexity, while the problem provides hundreds of correction points, and the possible path combinations are astronomical."
Xu Zhiyuan, seemingly lost in thought, said, "In other words, using a search algorithm to find the optimal solution in this solution space is either impossible to calculate, inaccurate, or too slow."
Han Chuan nodded and said, "That's right! Search algorithms can't guarantee timeliness."
"The problem explicitly requires the algorithm to be efficient and time-sensitive, because in actual engineering, trajectory planning must be completed within a specified time; otherwise, the solution will be invalid."
Listening to the conversation between the two, Liu Lu, sitting opposite them, had already opened her notebook and started taking notes.
She knew that these analytical approaches would be the core content of the paper's introduction.
After frowning and pondering for a while, Xu Zhiyuan looked at Han Chuan and asked, "So, how do you plan to model it?"
Han Chuan smiled and said, "Use feedback control!"
This is something I learned from Mr. Qian just two days ago, and it's perfect for applying to this modeling competition.
"Feedback control?"
"right!"
Nodding, Han Chuan continued writing on the manuscript paper: "Instead of planning the entire path in advance, we let the aircraft dynamically decide which correction point to fly to next based on the real-time error status during flight."
"First, define the safe distance between the current error state and the threshold boundary," meaning the safe distance in the horizontal direction is θ minus the current horizontal error, and the same applies to the vertical direction.
"The smaller the safety distance, the closer the system is to the instability critical point, and the corresponding type of correction point must be found as soon as possible."
The safe distance is large enough, indicating there is still some leeway. We can prioritize path optimization and fly closer to the target.
"In this way, trajectory planning is no longer a static optimization problem, but a dynamic feedback control problem."
"Converted to modeling, it would be L—path =∑ d—ij·—ij (total path length) N—correction =∑ y—i
(Total number of corrections) —ij∈ {0,1}, y—i∈ {0,1}”
The constraint is: Vertical error tracking: v—i+δ·∑ d—ij·—ij≤Trigger threshold (based on the type of correction point)
'
Having discussed the core of the problem, what remains is to add the flesh and blood details to this core framework, and...
It has been translated into a mathematical modeling language.
For Han Chuan, this was not difficult.
Time passed by, and soon, after completing the full mathematical model for the first question, he handed the paper to Xu Zhiyuan.
"The state transition equation for dynamic programming has been derived, and your A1 can be based on this framework."
Xu Zhiyuan took it and glanced at it, raising an eyebrow: "Your heuristic function is very ingeniously designed. Using Manhattan distance plus error penalty, it ensures both convergence and balance."
"Yes, I tried several combinations, and this one is the most balanced."
Han Chuan rubbed his slightly sore wrist and said, "Run the data in Attachment 1 and see the results."
"OK!"
Xu Zhiyuan typed away on the keyboard for a while, and the paths began to be output one by one on the screen.
A few seconds later, a path from point A to point B, passing through 7 correction points, appeared on the graph.
"Distance 2147 meters, 7 corrections," Xu Zhiyuan read out the result: "All constraints are met. The run took only 0.35 seconds."
Han Chuan nodded: "What about Appendix 2? The set with more stringent parameters."
Xu Zhiyuan switched to the data in Appendix 2 and ran it again.
This time it took a little longer, about 1.2 seconds, and output a path that passed through 12 correction points, with a flight distance of 2896.
Meter.
"That's feasible."
Looking at the data on the screen, Xu Zhiyuan breathed a sigh of relief and grinned, "First question solved."
Han Chuan nodded and said, "Continue!"
The first day passed by in this way, with Han Chuan and Xu Zhiyuan working together quite well.
At 10 p.m., Han Chuan, who had already finished the initial modeling of all three questions, stood up, stretched, and picked up a Red Bull from the table and chug it down.
Although he has finished the mathematical modeling work, he is still unable to leave.
Senior Brother Xu is currently writing code for his model, and there may be some areas that need optimization during this process.
Furthermore, Liu Lu is also organizing materials to prepare for writing a complete paper, and he also needs to provide guidance on key details and theories in the paper.
At 11 p.m., the computer lab used as an examination center was still packed with people.
None of the dozen or so teams participating in the modeling competition left, and Sang Kai was among them.
This guy seems to be quite lucky; the team leader is a top student from the computer science department, who has participated in a competition before.
He originally came here aiming for the national award, but unfortunately he couldn't find a good teammate, so he ended up choosing Sang Kai.
However, to Ping's surprise, this freshman was quite serious about modeling training throughout the past summer vacation.
Although he couldn't compare to those seasoned veterans who had participated in competitions, he didn't hold them back either; his math score was much better than he had expected.
At least it can be used with his guidance.
"No, why are you looking over there!"
In the computer lab, the top student from the computer science department watched Sang Kai repeatedly look up at the other side, and finally couldn't help but ask a question.
"No, it's just that I have a roommate there too."
Upon hearing this, the top student followed Sang Kai's gaze and immediately spotted Han Chuan's team of three, looking somewhat surprised.
He asked, "You mean the one who teamed up with Xu Zhiyuan, is he your roommate?"
Sang Kai: "Hmm."
"No, then why didn't you ask him to take you?"
"This guy is way better than me. Professor Geng told me he published a paper in one of the top four journals during the summer. It hasn't been published yet and might need some revisions, but with a genius like him, you could practically get a national first prize just by lying around!"
Sang Kai: "????"
The Big Four? What Big Four? He'd never heard of them! Holy crap!
Wasn't Han Chuan also attending mathematical modeling training during the summer vacation, just like him?
P.S.: Second update, there will be another one at midnight tonight, please vote and follow!
>
You'll Also Like
-
Naruto's Pirate Fruits are Invincible
Chapter 604 16 minute ago -
I, the Tyrannosaurus Rex, stand at the top of the food chain.
Chapter 633 16 minute ago -
In One Piece: I can copy any talent
Chapter 150 16 minute ago -
I became the Dragon King in the Dragon Clan.
Chapter 686 16 minute ago -
And that's how I became the chat group admin.
Chapter 461 16 minute ago -
Naruto: Everyone except me has their gender reversed
Chapter 382 16 minute ago -
Fantasy: Become stronger by devouring corpses
Chapter 234 16 minute ago -
Primordial Era: I, the strongest Buddha, start by picking up entries from the West!
Chapter 174 16 minute ago -
Gao Wu: I'm seventy years old, what the hell is the "Lying Down System"?
Chapter 142 16 minute ago -
Douluo Continent: The Martial Soul Emperor Armor, Purges All Evil
Chapter 213 16 minute ago