constraint-relax-then-tighten

Solve constrained optimization problems via relaxation-then-tightening strategies.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/hiyenwong/ai_collection --skill constraint-relax-then-tighten
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: constraint-relax-then-tighten
Source: https://github.com/hiyenwong/ai_collection/tree/main/collection/skills/constraint-relax-then-tighten
Command: npx skills add https://github.com/hiyenwong/ai_collection --skill constraint-relax-then-tighten

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

通过放松-收紧策略处理复杂约束问题:先放宽约束证明解的存在性,然后逐步收紧约束,逼近原始问题。

Core Features & Use Cases

  • 放松策略:惩罚函数、容忍度放宽或软约束替代,找到初始可行解。
  • 存在性证明与收敛性:在放松条件下验证解的存在性,并评估收敛行为。
  • 逐步收紧算法:使用收紧因子迭代逼近原问题,并可自适应调整收紧速度。
  • 应用示例:机器人路径规划、资源分配、路径规划、能源调度、投资组合优化等。

Quick Start

请用放松-收紧策略解决一个带有复杂约束的优化问题,先放宽约束以获得可行解,然后逐步收紧以逼近原始约束。

Frequently Asked Questions about constraint-relax-then-tighten

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I solve complex constrained optimization problems when initial feasibility is hard to achieve?

Constraint relaxation works by applying penalty functions, tolerance widening, or soft constraint substitutions to find an initial feasible solution. Once feasibility is established, an iterative algorithm progressively tightens parameters back toward the original constraints.

Can I use constraint relaxation and tightening for robotics path planning?

Yes, you can use constraint relaxation and tightening for robotics path planning. It finds an initial collision-free path by relaxing spatial constraints, then iteratively tightens them to converge to the original trajectory requirements.

What is the best way to converge relaxed constraints back to original optimization requirements?

The best way to converge relaxed constraints is using a step-by-step tightening algorithm with adaptive tightening factors. This iterative process evaluates convergence behavior and adjusts the tightening speed to systematically approach the original optimization requirements.

Does the relaxation-then-tightening strategy verify solution existence before converging?

Yes, the relaxation-then-tightening strategy explicitly verifies solution existence under relaxed conditions. It validates feasibility using penalty functions or tolerance widening before evaluating convergence behavior and applying adaptive tightening parameters.

When should I not use a constraint relaxation strategy for resource allocation?

You should avoid constraint relaxation for resource allocation if the initial relaxed problem cannot guarantee solution existence. Without a valid proof of existence under relaxed conditions, the iterative tightening process may fail to converge to the original constraints.